view Renderer/Engine/Button.h @ 762:10a8a80c2ea7

add lights
author yutaka@henri.cr.ie.u-ryukyu.ac.jp
date Sat, 06 Feb 2010 03:02:48 +0900
parents 735f76483bb2
children b067fd5d8859
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