SHARE
TWEET

Untitled

a guest Jan 25th, 2014 6 Never
  1. #pragma once
  2. #include "game.h"
  3.  
  4. class GameState
  5. {
  6.  
  7.     public:
  8.  
  9.         GameState() {};
  10.         virtual ~GameState() {};
  11.         virtual void init() =0;
  12.         virtual void draw(Game* game) =0;
  13.         virtual void update(Game* game) =0;
  14.         virtual void handleEvents(Game* game) =0;
  15.         virtual void clean() = 0;
  16.  
  17.  
  18.  
  19. };
RAW Paste Data
Top