Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2016, 6:19:07 PM (8 years ago)
Author:
landauf
Message:

cleanup in hover module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/modules/hover/Hover.cc

    r11040 r11041  
    3434#include "Hover.h"
    3535
     36#include "HoverOrigin.h"
    3637#include "HoverWall.h"
    37 #include "HoverFlag.h" 
     38#include "HoverFlag.h"
    3839#include "MazeGenerator.h"
    3940#include "core/CoreIncludes.h"
     
    4546    Hover::Hover(Context* context) : Gametype(context)
    4647    {
    47        
    4848        RegisterObject(Hover);
    4949
     
    111111        flags_ = flagVector_.size();
    112112    }
    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     }
    134113}
Note: See TracChangeset for help on using the changeset viewer.