Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "game.h"
- class GameState
- {
- public:
- GameState() {};
- virtual ~GameState() {};
- virtual void init() =0;
- virtual void draw(Game* game) =0;
- virtual void update(Game* game) =0;
- virtual void handleEvents(Game* game) =0;
- virtual void clean() = 0;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement