Buckets:
| using namespace std ; | |
| using namespace sf ; | |
| class Game | |
| { | |
| private: | |
| void initWindow(); | |
| void initVariables(); | |
| void initPlayer(); | |
| void initStar(); | |
| void initScore(); | |
| void initGamePause(); | |
| void initMap(); | |
| void scoreUpdate(); | |
| void initMenu(); | |
| bool isPause = false; | |
| void initAudioClips(); | |
| void initMusicPlayer(); | |
| void resetGame(); | |
| void initEnemys(); | |
| void ColisionWithEnemy(); | |
| void isCpllitionWithDeadTile(); | |
| void initChileTurtle(); | |
| void decreaseJune(); | |
| void showHearts(); | |
| void initHearts(); | |
| float x=0; | |
| float y=0; | |
| int June = 5; | |
| View view; | |
| Score *score; | |
| Texture Background; | |
| Sprite BackgroundSprite; | |
| GamePause *gamePause; | |
| LevelScreen *levelScreen; | |
| VideoMode videoMode; | |
| RenderWindow *window; | |
| Event ev; | |
| player *player1; | |
| Menu *menu; | |
| GameState gameState = GameState::MENU; | |
| vector<AudioClip*> audioClips; | |
| MusicPlayer *musicPlayer; | |
| vector<Enemy*> enemys; | |
| vector<TurtleChile*> turtleChiles; | |
| vector<Sprite*> Hearts; | |
| Star *star; | |
| public: | |
| void update(); | |
| void render(); | |
| bool running(); | |
| void pollEvents(); | |
| void Draw(); | |
| void PauseGame(); | |
| void PlayGame(); | |
| Map *map; | |
| Game(); | |
| ~Game(); | |
| }; | |
Xet Storage Details
- Size:
- 1.65 kB
- Xet hash:
- bf608d7e100b487faed1fbac4e3d40a0ac68ebd662027c77a6b3d0380bd4585e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.