Changeset 11052 for code/trunk/src/modules/towerdefense
- Timestamp:
- Jan 9, 2016, 6:26:20 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/towerdefense/TowerDefenseField.cc
- Property svn:eol-style set to native
-
code/trunk/src/modules/towerdefense/TowerDefenseField.h
- Property svn:eol-style set to native
-
code/trunk/src/modules/towerdefense/TowerDefenseSelecter.cc
r10629 r11052 88 88 { 89 89 moveDownPressed_ = false; 90 90 selectedPos_->Set(selecterPosX, selecterPosY - 1); 91 91 updatePosition(); 92 92 } … … 100 100 { 101 101 moveRightPressed_ = false; 102 102 selectedPos_->Set(selecterPosX + 1, selecterPosY); 103 103 updatePosition(); 104 104 } -
code/trunk/src/modules/towerdefense/TowerDefenseTower.cc
r10727 r11052 61 61 { 62 62 upgrade++; 63 float reloadrate = getReloadRate();64 float reloadwaittime = getReloadWaitTime();65 63 this->setDamageMultiplier((upgrade+1)*2.0f); 64 66 65 //this->setRotationThrust(2*this->getRotationThrust()); 67 reloadrate = 0.5f*reloadrate;68 reloadwaittime = 0.5f*reloadwaittime;69 setReloadRate(reloadrate);70 setReloadWaitTime(reloadwaittime);71 66 //this->addTemplate("towerturret1"); 72 67 }
Note: See TracChangeset
for help on using the changeset viewer.