Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2017, 3:17:59 PM (7 years ago)
Author:
jkindle
Message:

Fixed turning, added and finished Gumbas, added turnOnCollide for all NPC and items, added Flagstone - todo: add points on flagstone hit and go into a between lvl mode, then warp to lvl 2. AAH, and added onDeath fcts…

File:
1 edited

Legend:

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

    r11405 r11412  
    6262            PlayerInfo* getPlayer() const;
    6363
     64            void restart();
    6465            int getPoints() {
    6566                return points_;
     
    7576                points_+=1000;
    7677            }
     78            void addGumba() {
     79                points_+=100;
     80            }
    7781            int getTimeLeft() {
    7882                return timeLeft_;
    7983            }
     84            std::string getInfoText() {
     85                return info_;
     86            }
    8087           
    81 
    82            virtual void playerEntered(PlayerInfo* player) override
     88            void setLvl(int lvl) {
     89                lvl_ = lvl;
     90            }
     91            int getLvl() {
     92                return lvl_;
     93            }
     94            virtual void playerEntered(PlayerInfo* player) override
    8395            {
    8496                Gametype::playerEntered(player);
     
    97109            int coins_;
    98110            float timeLeft_;
     111       
     112            int lvl_;
     113            std::string info_;
    99114
    100115
Note: See TracChangeset for help on using the changeset viewer.