20 #include "../Engine/State.h" 26 class RuleBaseFacility;
45 Text *_txtFacility, *_txtCost, *_numCost, *_txtTime, *_numTime, *_txtMaintenance, *_numMaintenance;
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:32
A game state that receives user input and reacts accordingly.
Definition: State.h:44
Box with a coloured border and custom background.
Definition: Window.h:40
Text string displayed on screen.
Definition: Text.h:40
Window shown when the player tries to build a facility.
Definition: PlaceFacilityState.h:36
void btnCancelClick(Action *action)
Handler for clicking the Cancel button.
Definition: PlaceFacilityState.cpp:120
void viewClick(Action *action)
Handler for clicking the base view.
Definition: PlaceFacilityState.cpp:129
Represents a player base on the globe.
Definition: Base.h:45
Coloured button with a text label.
Definition: TextButton.h:38
PlaceFacilityState(Base *base, RuleBaseFacility *rule)
Creates the Place Facility state.
Definition: PlaceFacilityState.cpp:46
Interactive view of a base.
Definition: BaseView.h:38
~PlaceFacilityState()
Cleans up the Place Facility state.
Definition: PlaceFacilityState.cpp:111
Definition: BaseInfoState.cpp:40
Represents a specific type of base facility.
Definition: RuleBaseFacility.h:35