Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2096 in orxonox.OLD for orxonox/branches/chris/src/world.cc


Ignore:
Timestamp:
Jul 9, 2004, 11:14:42 AM (21 years ago)
Author:
chris
Message:

orxonox/branches/chris: Messed with the Player class, added stuff here and there, debug world now creates a player and bind IO to it. Added some doxygen tags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/world.cc

    r2080 r2096  
    223223       
    224224        // create a player
     225        Worldentity* myPlayer = spawn<Player>();
    225226       
    226227        // bind input
     228  Orxonox *orx = Orxonox::getInstance();
     229  orx->get_localinput()->bind (myPlayer);
     230 
    227231        // bind camera
    228 }
     232        orx->get_camera()->bind (myPlayer);
     233}
Note: See TracChangeset for help on using the changeset viewer.