Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 20, 2008, 4:31:03 PM (16 years ago)
Author:
rgrieder
Message:
  • classed FloatParser to ExprParser class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/core/InputHandler.h

    r1112 r1118  
    3838
    3939#include <string>
     40#include <list>
    4041#include <OIS/OIS.h>
    4142
     
    4849    enum KeybindSetting
    4950    {
    50       none,
    51       onPress,
    52       onRelease,
    53       continuous,
     51      None,
     52      OnPress,
     53      OnRelease,
     54      Continuous,
    5455    };
    5556  }
     
    5859      : public OIS::KeyListener, public OIS::MouseListener
    5960  {
     61    virtual void tick(float dt) = 0;
    6062  };
    6163   
     
    8082                bool keyReleased  (const OIS::KeyEvent   &arg);
    8183
     84    void tick(float dt);
     85
    8286    // temporary hack
    8387    void callListeners(InputEvent &evt);
     88
     89    //! Stores all the keys that are down
     90    std::list<OIS::KeyCode> keysDown_;
    8491
    8592    /** denotes the maximum number of different keys there are in OIS.
     
    114121    ~InputHandlerGUI();
    115122
     123    void tick(float dt);
     124
    116125  private:
    117126    // input events
Note: See TracChangeset for help on using the changeset viewer.