Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10642 in orxonox.OLD for branches/vs-enhencements/src/util/state.h


Ignore:
Timestamp:
Apr 27, 2007, 12:03:26 AM (17 years ago)
Author:
rennerc
Message:

implemented action box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/util/state.h

    r10379 r10642  
    2020class CameraMan;
    2121class ScriptManager;
     22class ActionBox;
    2223
    2324
     
    126127  /** @returns the scroller-travelnode (center of the screen) */
    127128  static PNode* getTravelNode() { return State::travelNode; }
     129 
     130  /** sets the action box (this is where the fighting takes place) */
     131  static void setActionBox( ActionBox* ab ){ State::actionBox = ab; }
     132  /** @returns the action box (this is where the fighting takes place) */
     133  static ActionBox* getActionBox(){ return State::actionBox; }
    128134
    129135
     
    142148  static Player*                player;             //!< A reference to the Player
    143149  static PNode*                 travelNode;         //!< A reference to the scroller-travelnode
     150  static ActionBox*             actionBox;          //!< A reference to the action box
    144151
    145152  static SkyBox*                skyBox;            //!< The SkyBox used in the current world.
Note: See TracChangeset for help on using the changeset viewer.