SUPER Space invader : Turbo edition DX - VS GOD
1.0.0
A simple space invader ripoff
playerDef.h
Go to the documentation of this file.
1
11
#ifndef GUARD_PLAYER_DEF_H
12
#define GUARD_PLAYER_DEF_H
13
14
#include "mingl/graphics/rgbacolor.h"
15
20
struct
PlayerKeys
{
21
25
char
right
;
26
30
char
left
;
31
35
char
shoot
;
36
};
37
42
struct
PlayerDef
{
43
47
nsGraphics::RGBAcolor
color
;
48
52
PlayerKeys
keys
;
53
};
54
55
#endif
PlayerDef
player data, contains colors and key configuration
Definition:
playerDef.h:42
PlayerDef::keys
PlayerKeys keys
player key configuration
Definition:
playerDef.h:52
PlayerDef::color
nsGraphics::RGBAcolor color
player color
Definition:
playerDef.h:47
PlayerKeys
player key configuration
Definition:
playerDef.h:20
PlayerKeys::left
char left
key to move left
Definition:
playerDef.h:30
PlayerKeys::shoot
char shoot
key to shoot
Definition:
playerDef.h:35
PlayerKeys::right
char right
key to move right
Definition:
playerDef.h:25
headers
playerDef.h
Generated by
1.9.3