Mercurial > hg > Game > Cerium
annotate Renderer/Engine/Button.h @ 1479:163220e54cc0 draft
remove hard code for TaskLog
author | Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 24 Jul 2012 17:15:15 +0900 |
parents | d8eca90afa21 |
children |
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); | |
1041 | 14 void reset(void); |
283 | 15 int isPush(void); |
16 int isHold(void); | |
17 int isRelease(void); | |
18 }; | |
19 | |
20 #endif |