Public Member Functions

aesop::Terminal Class Reference

Class that manages input + display for a particular player. More...

#include <terminal.h>

Inheritance diagram for aesop::Terminal:
Inheritance graph
Collaboration diagram for aesop::Terminal:
Collaboration graph

List of all members.

Public Member Functions

virtual void setKeys (smart_ptr< crypto::DESKey > &desKey, smart_ptr< gamepad::Manager > &mgr)=0
virtual void input (gamepad::Gamepad *gp, float dt)=0
virtual void mouseMove (int x, int y)=0
virtual void mouseButton (int button, int state, int x, int y)=0
virtual void keyboard (int key, int mods)=0
virtual void showDialog (const char *id, const Datahash *dialog, dialog::Host *host)=0
virtual void destroyDialog (const char *id)=0
virtual void notifyMap (MapKdTree *mapKdTree)=0
 can be null!
virtual void notifyInstance (smart_ptr< Instance > &instance)=0

virtual ~Terminal (void) throw ()
static smart_ptr< Terminalcreate (TerminalHost *host, int playerId, smart_ptr< glut::RenderQueue > &rq)

Detailed Description

Class that manages input + display for a particular player.

Definition at line 87 of file terminal.h.

Constructor & Destructor Documentation

aesop::Terminal::~Terminal ( void   )  throw () [virtual]

Definition at line 61 of file terminal.cpp.

Member Function Documentation

virtual void aesop::Terminal::setKeys ( smart_ptr< crypto::DESKey > &  desKey,
smart_ptr< gamepad::Manager > &  mgr 
) [pure virtual]
virtual void aesop::Terminal::input ( gamepad::Gamepad *  gp,
float  dt 
) [pure virtual]
virtual void aesop::Terminal::mouseMove ( int  x,
int  y 
) [pure virtual]
virtual void aesop::Terminal::mouseButton ( int  button,
int  state,
int  x,
int  y 
) [pure virtual]
virtual void aesop::Terminal::keyboard ( int  key,
int  mods 
) [pure virtual]
virtual void aesop::Terminal::showDialog ( const char *  id,
const Datahash dialog,
dialog::Host host 
) [pure virtual]
virtual void aesop::Terminal::destroyDialog ( const char *  id  )  [pure virtual]
virtual void aesop::Terminal::notifyMap ( MapKdTree mapKdTree  )  [pure virtual]

can be null!

virtual void aesop::Terminal::notifyInstance ( smart_ptr< Instance > &  instance  )  [pure virtual]
smart_ptr< Terminal > aesop::Terminal::create ( TerminalHost host,
int  playerId,
smart_ptr< glut::RenderQueue > &  rq 
) [static]

Definition at line 747 of file terminal.cpp.

The documentation for this class was generated from the following files: