20 #include "../Engine/State.h" 27 class InteractiveSurface;
41 bool _inInventoryView;
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:32
Window that allows the player to set the timer of an explosive.
Definition: PrimeGrenadeState.h:37
Definition: BattlescapeGame.h:43
A game state that receives user input and reacts accordingly.
Definition: State.h:44
Surface that the user can interact with.
Definition: InteractiveSurface.h:37
PrimeGrenadeState(BattleAction *action, bool inInventoryView, BattleItem *grenadeInInventory)
Creates the Prime Grenade state.
Definition: PrimeGrenadeState.cpp:43
Text string displayed on screen.
Definition: Text.h:40
Represents a single item in the battlescape.
Definition: BattleItem.h:37
~PrimeGrenadeState()
Cleans up the Prime Grenade state.
Definition: PrimeGrenadeState.cpp:119
void btnClick(Action *action)
Handler for clicking a button.
Definition: PrimeGrenadeState.cpp:143
Element that is blit (rendered) onto the screen.
Definition: Surface.h:38
void handle(Action *action)
Handler for right-clicking anything.
Definition: PrimeGrenadeState.cpp:128
Fancy frame border thing used for windows and other elements.
Definition: Frame.h:28
Definition: BaseInfoState.cpp:40