Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2013, 3:09:30 PM (10 years ago)
Author:
zifloria
Message:

best game eva

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/invaders/src/modules/invader/Invader.h

    r9868 r9874  
    6666
    6767            void costLife();
    68             void levelUp(){level++;}
    69             void addPoints(int numPoints){point += numPoints * multiplier; b_combo = true;}
     68            void levelUp();
     69            void addPoints(int numPoints);
    7070            // checks if multiplier should be reset.
    7171            void comboControll();
     
    7474            int multiplier;
    7575            bool bEndGame;
     76            bool bShowLevel;
    7677        private:
     78            void toggleShowLevel(){bShowLevel = !bShowLevel;}
     79            WeakPtr<InvaderShip> getPlayer();
    7780            WeakPtr<InvaderCenterPoint> center_;
    7881            WeakPtr<InvaderShip> player;
     
    8083            Timer enemySpawnTimer;
    8184            Timer comboTimer;
     85            Timer showLevelTimer;
    8286            //Context* context;
    8387            int level;
Note: See TracChangeset for help on using the changeset viewer.