Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6998 in orxonox.OLD for trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Feb 3, 2006, 12:29:57 AM (18 years ago)
Author:
bensch
Message:

trunk: more button definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/player.cc

    r6987 r6998  
    4040  this->hud.show();
    4141
    42   EventHandler::getInstance()->subscribe(this, ES_GAME, SDLK_l);
     42  EventHandler::getInstance()->subscribe(this, ES_GAME, KeyMapper::PEV_CHANGE_SHIP);
    4343}
    4444
     
    9898 void Player::process(const Event &event)
    9999 {
    100    if (event.type == SDLK_l && event.bPressed)
     100   if (event.type == KeyMapper::PEV_CHANGE_SHIP && event.bPressed)
    101101   {
    102102     /// FIXME this should be in the ObjectManager
Note: See TracChangeset for help on using the changeset viewer.