#include <anoid.hh>
Collaboration diagram for anoid::main::Anoid:

Public Methods | |
| Anoid (context::Context *context) | |
| virtual void | loadLevel (config::Configuration &c) |
| virtual void | runLevel () |
| ~Anoid () | |
Protected Methods | |
| virtual void | processEvents () |
| virtual void | handleKeyUp (SDL_keysym *keysym) |
| virtual void | handleKeyDown (SDL_keysym *keysym) |
| virtual void | handlePointerMove (signed int id, signed int dx, signed int dy) |
Private Attributes | |
| context::Context * | _context |
| base::AbstractWorld * | _world |
|
|
Definition at line 16 of file anoid.cc. References _context, anoid::main::context, and anoid::context::Context::initWindow(). |
|
|
Definition at line 25 of file anoid.cc. References _world. |
|
|
Definition at line 74 of file anoid.cc. References _context, _world, anoid::simple::k(), anoid::base::AbstractWorld::send(), KeyboardMessage::setDown(), and KeyboardMessage::setKey(). Referenced by processEvents(). |
|
|
Definition at line 67 of file anoid.cc. References _world, anoid::simple::k(), anoid::base::AbstractWorld::send(), KeyboardMessage::setKey(), and KeyboardMessage::setUp(). Referenced by processEvents(). |
|
||||||||||||||||
|
Definition at line 88 of file anoid.cc. References _world, anoid::base::AbstractWorld::send(), PointerMessage::setID(), and PointerMessage::setMove(). Referenced by processEvents(). |
|
|
Definition at line 29 of file anoid.cc. References _context, and _world. Referenced by anoid::main::main(). |
|
|
Definition at line 46 of file anoid.cc. References _context, handleKeyDown(), handleKeyUp(), and handlePointerMove(). Referenced by runLevel(). |
|
|
Definition at line 33 of file anoid.cc. References _context, _world, anoid::base::AbstractWorld::fireEvents(), processEvents(), anoid::base::Object::redraw(), anoid::context::Context::swapBuffers(), and anoid::base::Object::update(). Referenced by anoid::main::main(). |
|
|
Definition at line 13 of file anoid.hh. Referenced by Anoid(), handleKeyDown(), loadLevel(), processEvents(), and runLevel(). |
|
|
Definition at line 14 of file anoid.hh. Referenced by handleKeyDown(), handleKeyUp(), handlePointerMove(), loadLevel(), runLevel(), and ~Anoid(). |