Changeset 9122 for code/branches/newlevel2012
- Timestamp:
- Apr 27, 2012, 2:49:43 PM (13 years ago)
- Location:
- code/branches/newlevel2012
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/newlevel2012/data/levels/towerDefense.oxw
r9116 r9122 30 30 <Pawn> 31 31 <camerapositions> 32 <CameraPosition position="- 200,0,250" absolute=true />32 <CameraPosition position="-100,0,250" absolute=true /> 33 33 </camerapositions> 34 34 </Pawn> … … 64 64 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> 65 65 <!--SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /--> 66 <SpawnPoint team=0 position=" -200,0,0" lookat="0,0,0" spawnclass=Pawn pawndesign=playfield />66 <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=Pawn pawndesign=playfield /> 67 67 68 68 -
code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.cc
r9117 r9122 56 56 57 57 #include "TowerDefense.h" 58 #include "worldentities/SpawnPoint.h" 59 #include "worldentities/pawns/Pawn.h" 58 60 59 61 namespace orxonox … … 93 95 { 94 96 orxout()<< "First tick." <<endl; 97 spawnEnemy(); 95 98 } 96 99 test = true; -
code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.h
r9117 r9122 44 44 //virtual void end(); 45 45 virtual void tick(float dt); 46 //virtual void playerEntered(PlayerInfo* player);46 //virtual void playerEntered(PlayerInfo* player); 47 47 //virtual bool playerLeft(PlayerInfo* player); 48 48 … … 50 50 //virtual void playerScored(PlayerInfo* player); 51 51 private: 52 void TowerDefense::spawnEnemy();52 void spawnEnemy(); 53 53 }; 54 54 }
Note: See TracChangeset
for help on using the changeset viewer.