- Timestamp:
- Jan 4, 2016, 6:19:07 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15/src/modules/hover/Hover.cc
r11040 r11041 34 34 #include "Hover.h" 35 35 36 #include "HoverOrigin.h" 36 37 #include "HoverWall.h" 37 #include "HoverFlag.h" 38 #include "HoverFlag.h" 38 39 #include "MazeGenerator.h" 39 40 #include "core/CoreIncludes.h" … … 45 46 Hover::Hover(Context* context) : Gametype(context) 46 47 { 47 48 48 RegisterObject(Hover); 49 49 … … 111 111 flags_ = flagVector_.size(); 112 112 } 113 114 int Hover::getFlags()115 {116 // Call start for the parent class.117 return flags_;118 }119 120 void Hover::start()121 {122 // Call start for the parent class.123 Gametype::start();124 }125 126 void Hover::end()127 {128 // DON'T CALL THIS!129 // Deathmatch::end();130 // It will misteriously crash the game!131 // Instead startMainMenu, this won't crash.132 GSLevel::startMainMenu();133 }134 113 }
Note: See TracChangeset
for help on using the changeset viewer.