Changeset 9116 for code/branches
- Timestamp:
- Apr 27, 2012, 2:09:48 PM (13 years ago)
- Location:
- code/branches/newlevel2012
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/newlevel2012/data/levels/towerDefense.oxw
r9112 r9116 30 30 <Pawn> 31 31 <camerapositions> 32 <CameraPosition position="-200,0, 600" absolute=true />32 <CameraPosition position="-200,0,250" absolute=true /> 33 33 </camerapositions> 34 34 </Pawn> … … 41 41 <Pawn camerapositiontemplate=playfieldcameras> 42 42 <attached> 43 <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> <!-- crate.mesh -->43 <Model position="0,0,0" orientation="1,1,1,1" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> <!-- crate.mesh --> 44 44 </attached> 45 45 </Pawn> -
code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.cc
r9112 r9116 82 82 ChatManager::message(message); 83 83 } 84 */ 84 85 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 /* 85 102 void TowerDefense::playerEntered(PlayerInfo* player) 86 103 { -
code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.h
r9112 r9116 42 42 43 43 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); 47 48 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); 50 51 }; 51 52 }
Note: See TracChangeset
for help on using the changeset viewer.