YourCityInvadedByAliens
Documentation for code of the game
Public Member Functions | Private Attributes | List of all members
YKeyboard Class Reference

#include <ykeyboard.h>

Public Member Functions

 YKeyboard ()
 
void pollState ()
 
bool isUp ()
 
bool isUpLeft ()
 
bool isUpRight ()
 
bool isDown ()
 
bool isDownLeft ()
 
bool isDownRight ()
 
bool isLeft ()
 
bool isRight ()
 
bool isF1 ()
 
bool isF4 ()
 
bool isF12 ()
 
bool isSpace ()
 

Private Attributes

const Uint8 * m_pKeyboardStateArray
 

Constructor & Destructor Documentation

◆ YKeyboard()

YKeyboard::YKeyboard ( )

Member Function Documentation

◆ isDown()

bool YKeyboard::isDown ( )

◆ isDownLeft()

bool YKeyboard::isDownLeft ( )

◆ isDownRight()

bool YKeyboard::isDownRight ( )

◆ isF1()

bool YKeyboard::isF1 ( )

◆ isF12()

bool YKeyboard::isF12 ( )

◆ isF4()

bool YKeyboard::isF4 ( )

◆ isLeft()

bool YKeyboard::isLeft ( )

◆ isRight()

bool YKeyboard::isRight ( )

◆ isSpace()

bool YKeyboard::isSpace ( )

◆ isUp()

bool YKeyboard::isUp ( )

◆ isUpLeft()

bool YKeyboard::isUpLeft ( )

◆ isUpRight()

bool YKeyboard::isUpRight ( )

◆ pollState()

void YKeyboard::pollState ( )

Member Data Documentation

◆ m_pKeyboardStateArray

const Uint8* YKeyboard::m_pKeyboardStateArray
private

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