Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 9, 2019, 12:32:44 PM (5 years ago)
Author:
tkuonen
Message:

Fix Build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/MouseAPI_FS19/src/modules/MouseAPI/mouseapi.h

    r12333 r12348  
    1818#include "core/GUIManager.h"
    1919#include "core/input/KeyBinderManager.h"
     20#include "tools/interfaces/Tickable.h"
    2021
    2122/* This class implements a basic mouse-api
     
    3839typedef uint ScrollableElementID;
    3940
    40 class MouseAPI : public InputHandler, public Singleton<MouseAPI>
     41class MouseAPI : public InputHandler, public Singleton<MouseAPI>,public Tickable
    4142{
    4243friend class Singleton<MouseAPI>;
     
    100101    ~MouseAPI();
    101102
     103    virtual void tick(float dt) override;
     104
    102105    /* everytime a mousebutton is pressed, this function is called and checks if the cursor is over an element that can be clicked on
    103106     * if yes, the function associated with this element will be called with the corresponding button as argument
Note: See TracChangeset for help on using the changeset viewer.