OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::UnitFallBState Class Reference

State for falling units. More...

#include <UnitFallBState.h>

Inheritance diagram for OpenXcom::UnitFallBState:
OpenXcom::BattleState

Public Member Functions

 UnitFallBState (BattlescapeGame *parent)
 Creates a new UnitWalkBState class. More...
 
 ~UnitFallBState ()
 Cleans up the UnitWalkBState. More...
 
void init ()
 Initializes the state.
 
void think ()
 Runs state functionality every cycle. Returns when finished. More...
 
- Public Member Functions inherited from OpenXcom::BattleState
 BattleState (BattlescapeGame *parent, BattleAction action)
 Creates a new BattleState linked to the game. More...
 
 BattleState (BattlescapeGame *parent)
 Creates a new BattleState linked to the game. More...
 
virtual ~BattleState ()
 Cleans up the BattleState. More...
 
virtual void cancel ()
 Handles a cancel request. More...
 
BattleAction getAction () const
 Gets a copy of the action. More...
 

Detailed Description

State for falling units.

Constructor & Destructor Documentation

OpenXcom::UnitFallBState::UnitFallBState ( BattlescapeGame parent)

Creates a new UnitWalkBState class.

Sets up an UnitFallBState.

Parameters
parentPointer to the Battlescape.
OpenXcom::UnitFallBState::~UnitFallBState ( )

Cleans up the UnitWalkBState.

Deletes the UnitWalkBState.

Member Function Documentation

void OpenXcom::UnitFallBState::think ( )
virtual

Runs state functionality every cycle. Returns when finished.

Runs state functionality every cycle.

Progresses the fall, updates the battlescape, ...

Reimplemented from OpenXcom::BattleState.


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