#ifndef BUTTON_H
#define BUTTON_H

class Button final {
    int downTime;
    int upTime;
    
public:
    Button();
    void press();
    void release();
    void tick();
    bool isDown() const;
    int getDownTime() const;
    bool isUp() const;
    int getUpTime() const;
};

#endif