Abstract base class for government command actions. More...
#include <Routines.h>
Public Member Functions | |
| virtual void | execute ()=0 |
| Executes the command. | |
| virtual | ~GovernmentCommands () |
| Virtual destructor for proper cleanup of derived classes. | |
Abstract base class for government command actions.
This class defines the interface for all government commands that can be executed. It provides a pure virtual function execute() that must be implemented by derived classes.
|
pure virtual |
Executes the command.
This function should contain the logic for the specific command being executed.
Implemented in MonthlyRoutines, RenovateAllBuildings, UpgradeAllPub, UpgradeAllRail, and UpgradeAllRoad.