Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2013, 8:18:15 PM (10 years ago)
Author:
zifloria
Message:

End game screen. Eye candy. Gameplay tweaks

File:
1 edited

Legend:

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

    r9866 r9868  
    2929/**
    3030    @file Invader.h
    31     @brief Declaration of the Invader class.
     31    @brief Gametype.
    3232    @ingroup Invader
    3333*/
     
    5050    {
    5151        public:
    52             Invader(Context* context); //!< Constructor. Registers and initializes the object.
    53             virtual ~Invader(); //!< Destructor. Cleans up, if initialized.
     52            Invader(Context* context);
    5453
    55             virtual void start(); //!< Starts the Invader minigame.
    56             virtual void end(); ///!< Ends the Invader minigame.
    57 
    58             //virtual void spawnPlayer(PlayerInfo* player); //!< Spawns the input player.
     54            virtual void start();
     55            virtual void end();
    5956
    6057            void spawnEnemy();
     
    7168            void levelUp(){level++;}
    7269            void addPoints(int numPoints){point += numPoints * multiplier; b_combo = true;}
     70            // checks if multiplier should be reset.
    7371            void comboControll();
     72            void init();
    7473            int lives;
     74            int multiplier;
     75            bool bEndGame;
    7576        private:
    7677            WeakPtr<InvaderCenterPoint> center_;
    7778            WeakPtr<InvaderShip> player;
    7879
    79             ConsoleCommand* console_addEnemy;
    8080            Timer enemySpawnTimer;
    8181            Timer comboTimer;
     
    8484            int point;
    8585            bool b_combo;
    86             int multiplier;
    8786    };
    8887}
Note: See TracChangeset for help on using the changeset viewer.