Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Updated oxw and added method call to spawnEnemy

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

Legend:

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

    r9117 r9122  
    5656
    5757#include "TowerDefense.h"
     58#include "worldentities/SpawnPoint.h"
     59#include "worldentities/pawns/Pawn.h"
    5860
    5961namespace orxonox
     
    9395            {
    9496                orxout()<< "First tick." <<endl;
     97                spawnEnemy();
    9598            }
    9699            test = true;
  • code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.h

    r9117 r9122  
    4444            //virtual void end();
    4545            virtual void tick(float dt);
    46          //   virtual void playerEntered(PlayerInfo* player);
     46            //virtual void playerEntered(PlayerInfo* player);
    4747            //virtual bool playerLeft(PlayerInfo* player);
    4848
     
    5050            //virtual void playerScored(PlayerInfo* player);
    5151                private:
    52                                 void TowerDefense::spawnEnemy();
     52                                void spawnEnemy();
    5353    };
    5454}
Note: See TracChangeset for help on using the changeset viewer.