source: trunk/src/sdlinput.h @ 149

Last change on this file since 149 was 149, checked in by sam, 11 years ago

Get the timer to talk milliseconds instead of seconds.

  • Property svn:keywords set to Id
File size: 499 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The SdlInput class
8// ------------------
9//
10
11#if !defined __DH_SDLINPUT_H__
12#define __DH_SDLINPUT_H__
13
14#include "entity.h"
15#include "game.h"
16
17class SdlInputData;
18
19class SdlInput : public Entity
20{
21public:
22    SdlInput(Game *game);
23    virtual ~SdlInput();
24
25protected:
26    virtual Group GetGroup();
27    virtual void TickGame(float deltams);
28
29private:
30    SdlInputData *data;
31};
32
33#endif // __DH_SDLINPUT_H__
34
Note: See TracBrowser for help on using the repository browser.