Mercurial > hg > Game > Cerium
annotate Renderer/Engine/Button.h @ 987:6c3dffa8996f draft akira
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 02 Oct 2010 03:19:33 +0900 |
parents | 3bc98f6d31ff |
children | d8eca90afa21 |
rev | line source |
---|---|
283 | 1 #ifndef INCLUDED_BUTTON |
2 #define INCLUDED_BUTTON | |
3 | |
4 class Button { | |
5 public: | |
6 int push; | |
7 int hold; | |
8 int release; | |
9 | |
10 Button(void) : push(0), hold(0), release(0) {} | |
11 | |
12 void push_work(void); | |
13 void release_work(void); | |
14 int isPush(void); | |
15 int isHold(void); | |
16 int isRelease(void); | |
17 }; | |
18 | |
19 #endif |