Changeset 9129
- Timestamp:
- Apr 27, 2012, 3:59:19 PM (13 years ago)
- Location:
- code/branches/newlevel2012
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/newlevel2012/data/levels/towerDefense.oxw
r9124 r9129 30 30 <Pawn> 31 31 <camerapositions> 32 <CameraPosition position="200,0, 250" absolute=true />32 <CameraPosition position="200,0,350" absolute=true /> 33 33 </camerapositions> 34 34 </Pawn> … … 70 70 71 71 72 73 <SpaceShip position="-10,0,20" lookat="0,0,0"> 74 <templates> 75 <Template link=spaceshipassff /> 76 </templates> 77 <controller> 78 <WaypointController accuracy=3> 79 <waypoints> 80 <Model mesh="cube.mesh" scale=1 position="110,90,20" /> 81 <Model mesh="cube.mesh" scale=2 position="290,90,20" /> 82 <Model mesh="cube.mesh" scale=3 position="290,-90,20" /> 83 <Model mesh="cube.mesh" scale=4 position="110,-90,20" /> 84 </waypoints> 85 </WaypointController> 86 </controller> 87 </SpaceShip> 88 72 89 73 90 <!--StaticEntity position="0,0,0" direction="0,0,0" collistionType=static mass=100000> -
code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.cc
r9124 r9129 58 58 #include "worldentities/SpawnPoint.h" 59 59 #include "worldentities/pawns/Pawn.h" 60 #include "worldentities/pawns/SpaceShip.h" 60 61 61 62 namespace orxonox … … 93 94 static bool test = false; 94 95 if (!test) 96 { 95 97 orxout()<< "First tick." <<endl; 96 98 spawnEnemy(); … … 101 103 void TowerDefense::spawnEnemy() 102 104 { 103 // SpawnPoint *sp = *this->spawnpoints_.begin(); 104 //Pawn* p = sp->spawn(); 105 SpawnPoint *sp = *this->spawnpoints_.begin(); 106 107 Pawn* p = sp->spawn(); 105 108 } 106 109
Note: See TracChangeset
for help on using the changeset viewer.