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
20struct PlayerKeys {
21
25 char right;
26
30 char left;
31
35 char shoot;
36};
37
42struct PlayerDef {
43
47 nsGraphics::RGBAcolor color;
48
53};
54
55#endif
player data, contains colors and key configuration
Definition: playerDef.h:42
PlayerKeys keys
player key configuration
Definition: playerDef.h:52
nsGraphics::RGBAcolor color
player color
Definition: playerDef.h:47
player key configuration
Definition: playerDef.h:20
char left
key to move left
Definition: playerDef.h:30
char shoot
key to shoot
Definition: playerDef.h:35
char right
key to move right
Definition: playerDef.h:25