Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10698 in orxonox.OLD for trunk/src/util/state.h


Ignore:
Timestamp:
Jun 14, 2007, 5:33:43 PM (17 years ago)
Author:
snellen
Message:

merged adm, hud, vs-enhancements : beni's responsible for this commit. blame him!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/state.h

    r10643 r10698  
    2020class CameraMan;
    2121class ScriptManager;
     22class ActionBox;
    2223
    2324
     
    130131  /** @returns the scroller-travelnode (center of the screen) */
    131132  static PNode* getTravelNode() { return State::travelNode; }
     133 
     134  /** sets the action box (this is where the fighting takes place) */
     135  static void setActionBox( ActionBox* ab ){ State::actionBox = ab; }
     136  /** @returns the action box (this is where the fighting takes place) */
     137  static ActionBox* getActionBox(){ return State::actionBox; }
    132138
    133139
     
    146152  static Player*                player;             //!< A reference to the Player
    147153  static PNode*                 travelNode;         //!< A reference to the scroller-travelnode
     154  static ActionBox*             actionBox;          //!< A reference to the action box
    148155
    149156  static SkyBox*                skyBox;            //!< The SkyBox used in the current world.
Note: See TracChangeset for help on using the changeset viewer.