Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Olympe::NodeGraph::ICommand Class Referenceabstract

Base interface for all commands. More...

#include <CommandSystem.h>

+ Inheritance diagram for Olympe::NodeGraph::ICommand:

Public Member Functions

virtual ~ICommand ()=default
 
virtual void Execute ()=0
 Execute the command.
 
virtual void Undo ()=0
 Undo the command.
 
virtual std::string GetDescription () const =0
 Get description of the command.
 

Detailed Description

Base interface for all commands.

Definition at line 24 of file CommandSystem.h.

Constructor & Destructor Documentation

◆ ~ICommand()

virtual Olympe::NodeGraph::ICommand::~ICommand ( )
virtualdefault

Member Function Documentation

◆ Execute()

virtual void Olympe::NodeGraph::ICommand::Execute ( )
pure virtual

◆ GetDescription()

virtual std::string Olympe::NodeGraph::ICommand::GetDescription ( ) const
pure virtual

◆ Undo()

virtual void Olympe::NodeGraph::ICommand::Undo ( )
pure virtual

The documentation for this class was generated from the following file: