Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2012, 2:09:48 PM (13 years ago)
Author:
mentzerf
Message:

adjusted position of the plazfield

Location:
code/branches/newlevel2012/src/modules/towerdefense
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.cc

    r9112 r9116  
    8282        ChatManager::message(message);
    8383    }
     84    */
    8485
     86
     87    void TowerDefense::tick(float dt)
     88        {
     89            SUPER(TowerDefense, tick, dt);
     90
     91            static bool test = false;
     92            if (!test)
     93            {
     94                orxout()<< "First tick." <<endl;
     95            }
     96            test = true;
     97        }
     98
     99
     100
     101/*
    85102    void TowerDefense::playerEntered(PlayerInfo* player)
    86103    {
  • code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.h

    r9112 r9116  
    4242
    4343            virtual void start(); //<! The function is called when the gametype starts
    44             /*virtual void end();
    45             virtual void playerEntered(PlayerInfo* player);
    46             virtual bool playerLeft(PlayerInfo* player);
     44            //virtual void end();
     45            virtual void tick(float dt);
     46         //   virtual void playerEntered(PlayerInfo* player);
     47            //virtual bool playerLeft(PlayerInfo* player);
    4748
    48             virtual void pawnKilled(Pawn* victim, Pawn* killer = 0);
    49             virtual void playerScored(PlayerInfo* player);*/
     49            //virtual void pawnKilled(Pawn* victim, Pawn* killer = 0);
     50            //virtual void playerScored(PlayerInfo* player);
    5051    };
    5152}
Note: See TracChangeset for help on using the changeset viewer.