view 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
line wrap: on
line source

#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