/[enigma]/enigma/player.hh
ViewVC logotype

Diff of /enigma/player.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by dheck, Mon Sep 16 09:25:49 2002 UTC revision 1.7 by dheck, Sun Nov 3 14:12:23 2002 UTC
# Line 55  namespace player Line 55  namespace player
55      // extra lifes.      // extra lifes.
56      void NewGame(int nplayers);      void NewGame(int nplayers);
57    
58      // This is called whenever a new level is reached in a running      /* This is called whenever a new level is reached in a running
59      // game.  The inventories of all players are cleaned up, i.e., all         game.  The inventories of all players are cleaned up, i.e., all
60      // items except for extra lifes are removed.         items except for extra lifes are removed. */
61      void NewWorld();      void NewWorld();
62    
63        /* This function is only used by the YinYang items to exchange the
64           two players. */
65        void SwapPlayers();
66    
67        void SetCurrentPlayer(unsigned iplayer);
68    
69            
70      Inventory *GetInventory(int iplayer);      Inventory *GetInventory(int iplayer);
71      int CurrentPlayer();      int CurrentPlayer();

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26