19 #ifndef OPENXCOM_SACKSOLDIERSTATE_H
20 #define OPENXCOM_SACKSOLDIERSTATE_H
22 #include "../Engine/State.h"
45 Text *_txtTitle, *_txtSoldier;
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:34
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:42
Text string displayed on screen.
Definition: Text.h:41
Window shown when the player tries to sack a soldier.
Definition: SackSoldierState.h:37
void btnCancelClick(Action *action)
Handler for clicking the Cancel button.
Definition: SackSoldierState.cpp:117
void btnOkClick(Action *action)
Handler for clicking the OK button.
Definition: SackSoldierState.cpp:101
Represents a player base on the globe.
Definition: Base.h:47
Coloured button with a text label.
Definition: TextButton.h:40
~SackSoldierState()
Cleans up the Sack Soldier state.
Definition: SackSoldierState.cpp:91
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:44
SackSoldierState(Game *game, Base *base, size_t soldierId)
Creates the Sack Soldier state.
Definition: SackSoldierState.cpp:43