Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

anoid.hh

Go to the documentation of this file.
00001 #ifndef _anoid_hh_
00002 #define _anoid_hh_
00003 
00004 #include "context.hh"
00005 #include "abstractworld.hh"
00006 #include <SDL/SDL.h>
00007 
00008 namespace anoid {
00009     namespace main {
00010 
00011         class Anoid {
00012             private:
00013                 context::Context *_context;
00014                 base::AbstractWorld *_world;
00015             protected:
00016                 virtual void processEvents();
00017                 virtual void handleKeyUp(SDL_keysym* keysym);
00018                 virtual void handleKeyDown(SDL_keysym* keysym);
00019                 virtual void handlePointerMove(signed int id, signed int dx, signed int dy);
00020             public:
00021                 Anoid(context::Context *context);
00022                 virtual void loadLevel(config::Configuration &c);
00023                 virtual void runLevel();
00024                 ~Anoid();
00025         };
00026 
00027     };
00028 };
00029 
00030 #endif

Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen