- Timestamp:
- Dec 4, 2017, 2:38:03 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrx.cc
r11620 r11624 21 21 * 22 22 * Author: 23 * Leo Me hr Holz23 * Leo Merholz 24 24 * Pascal Schärli 25 * Co-authors: 26 * ... 25 27 * 26 28 */ … … 47 49 48 50 #include "FlappyOrxCenterPoint.h" 49 #include "FlappyOrxAsteroid.h"50 51 #include "FlappyOrxShip.h" 51 52 … … 73 74 } 74 75 75 void FlappyOrx::XMLPort(Element& xmlelement, XMLPort::Mode mode)76 {77 SUPER(FlappyOrx, XMLPort, xmlelement, mode);78 XMLPortParam(FlappyOrx, "spawnDistance", setspawnDistance, getspawnDistance, xmlelement, mode);79 XMLPortParam(FlappyOrx, "Speed", setSpeed, getSpeed, xmlelement, mode);80 }81 82 76 void FlappyOrx::updatePlayerPos(int x){ 83 77 … … 287 281 void FlappyOrx::end() 288 282 { 289 // DON'T CALL THIS!290 // Deathmatch::end();291 // It will misteriously crash the game!292 // Instead startMainMenu, this won't crash.293 283 if (Highscore::exists()){ 294 284 int score = this->getPoints();
Note: See TracChangeset
for help on using the changeset viewer.