Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2017, 3:08:16 PM (7 years ago)
Author:
jkindle
Message:

Added a HUD and type to QBlocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SuperOrxoBros_FS17/src/modules/superorxobros/SOB.cc

    r11402 r11405  
    6464        this->center_ = nullptr;
    6565        figure_ = nullptr;
    66         setHUDTemplate("JumpHUD");
     66        setHUDTemplate("SOBHUD");
     67        coins_=0;
     68        points_=0;
     69        timeLeft_=400.0;
    6770
    6871    }
     
    105108
    106109        // Call start for the parent class.
    107         Deathmatch::start();
     110        Gametype::start();
    108111
    109112        if (figure_ != nullptr)
     
    152155            orxout() << "DEED" << endl;
    153156       
     157
     158       timeLeft_-=dt*2.5;
    154159    }
    155160
Note: See TracChangeset for help on using the changeset viewer.