Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::io::Keyboard Class Reference

#include <Keyboard.h>

Inheritance diagram for kge::io::Keyboard:
kge::KgeUnknown

Public Member Functions

 Keyboard ()
 Sazande.
 ~Keyboard ()
 Mokhareb.
bool KeyDown (KEYS key)
 Vaghti ke klide morde nazar feshorde shavad meghdare true ro mide.
bool KeyDown (char key)
 Vaghti ke klide morde nazar feshorde shavad meghdare true ro mide.
virtual void Connect (gui::EventType eventtype, core::Functor1< void, gui::EventArgs * > *Function)
 Connect an event.
- Public Member Functions inherited from kge::KgeUnknown
 KgeUnknown ()
 Constructor.
virtual ~KgeUnknown ()
 Destructor.
virtual void AddRef ()
 Add a reference to the object.
virtual void DecRef ()
 Decrease a reference from the object. if its reference count get 0 then the object will destroy.
u32 GetRefCount ()
 Return resource reference count.
const char * GetDebugText ()
 returns the instance debug text.

Additional Inherited Members

- Protected Member Functions inherited from kge::KgeUnknown
void SetDebugText (char *text)

Detailed Description

class keyboard dar dakhele device hast va fagha on mitone in class ro besaze. ba dastor GetKeyboard() ye pointer be in class az device begirid.

Definition at line 286 of file Keyboard.h.

Constructor & Destructor Documentation

kge::io::Keyboard::Keyboard ( )
inline

Sazande.

Definition at line 290 of file Keyboard.h.

kge::io::Keyboard::~Keyboard ( )
inline

Mokhareb.

Definition at line 293 of file Keyboard.h.

Member Function Documentation

virtual void kge::io::Keyboard::Connect ( gui::EventType  eventtype,
core::Functor1< void, gui::EventArgs * > *  Function 
)
virtual

Connect an event.

bool kge::io::Keyboard::KeyDown ( KEYS  key)

Vaghti ke klide morde nazar feshorde shavad meghdare true ro mide.

bool kge::io::Keyboard::KeyDown ( char  key)

Vaghti ke klide morde nazar feshorde shavad meghdare true ro mide.


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