Castle Battle  1.0
Public Member Functions | Public Attributes | List of all members
KEYBOARD::Key Class Reference

Key is a class that describe a irrlicht EKEY_CODE and what ACTION_KEYBOARD is referring. More...

#include <keyboard.h>

Public Member Functions

 Key (ACTION_KEYBOARD act, EKEY_CODE k)
 
Key getKey ()
 

Public Attributes

ACTION_KEYBOARD action
 
EKEY_CODE key
 

Detailed Description

Key is a class that describe a irrlicht EKEY_CODE and what ACTION_KEYBOARD is referring.

Constructor & Destructor Documentation

◆ Key()

Key::Key ( ACTION_KEYBOARD  act,
EKEY_CODE  k 
)
4  {
5  this->action = action;
6  this->key = k;
7 };
EKEY_CODE key
Definition: keyboard.h:27
ACTION_KEYBOARD action
Definition: keyboard.h:26

Member Function Documentation

◆ getKey()

Key KEYBOARD::Key::getKey ( )

Member Data Documentation

◆ action

ACTION_KEYBOARD KEYBOARD::Key::action

◆ key

EKEY_CODE KEYBOARD::Key::key

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