view Renderer/Engine/Button.h @ 1687:81bb9b2f35ca draft

change filename
author Shohei KOKUBO
date Tue, 13 Aug 2013 01:57:13 +0900
parents d8eca90afa21
children
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);
    void reset(void);
    int isPush(void);
    int isHold(void);
    int isRelease(void);
};

#endif