view Renderer/Engine/Button.h @ 1087:20f09564c586 draft

fix (not yet tested)
author root@localhost.localdomain
date Fri, 17 Dec 2010 18:34:29 +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