Changeset 9123 for code/branches/newlevel2012/src/modules
- Timestamp:
- Apr 27, 2012, 2:56:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.cc
r9122 r9123 87 87 88 88 89 90 91 89 void TowerDefense::tick(float dt) 90 { 91 SUPER(TowerDefense, tick, dt); 92 92 93 static bool test = false; 94 if (!test) 95 { 96 orxout()<< "First tick." <<endl; 97 spawnEnemy(); 98 } 99 test = true; 93 static bool test = false; 94 if (!test) 95 orxout()<< "First tick." <<endl; 96 spawnEnemy(); 100 97 } 98 test = true; 99 } 101 100 102 101 void TowerDefense::spawnEnemy()
Note: See TracChangeset
for help on using the changeset viewer.