Mercurial > hg > Game > Cerium
diff Renderer/Engine/Button.h @ 539:3bc98f6d31ff draft
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | Renderer/test_render/Button.h@15bfacccde99 |
children | d8eca90afa21 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Renderer/Engine/Button.h Mon Oct 12 09:39:35 2009 +0900 @@ -0,0 +1,19 @@ +#ifndef INCLUDED_BUTTON +#define INCLUDED_BUTTON + +class Button { +public: + int push; + int hold; + int release; + + Button(void) : push(0), hold(0), release(0) {} + + void push_work(void); + void release_work(void); + int isPush(void); + int isHold(void); + int isRelease(void); +}; + +#endif