persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
Key Struct Reference

Represent a single key on the keyboard. Stores x bounadaries and the associated key. More...

#include <keyboard.hpp>

Public Member Functions

bool keyHit (int x)

Public Attributes

int topX
int bottomX
char key

Detailed Description

Represent a single key on the keyboard. Stores x bounadaries and the associated key.

Note
The key does not store Y values, check the corresponding Button Row for this.

Definition at line 30 of file keyboard.hpp.

Member Function Documentation

◆ keyHit()

bool Key::keyHit ( int x)
inline

Definition at line 37 of file keyboard.hpp.

Member Data Documentation

◆ bottomX

int Key::bottomX

Definition at line 33 of file keyboard.hpp.

◆ key

char Key::key

Definition at line 35 of file keyboard.hpp.

◆ topX

int Key::topX

Definition at line 32 of file keyboard.hpp.


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