source: trunk/src/sdlinput.h @ 112

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

Reimplement the SDL input as a ticked asset object.

  • Property svn:keywords set to Id
File size: 500 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 "asset.h"
15#include "game.h"
16
17class SdlInputData;
18
19class SdlInput : public Asset
20{
21public:
22    SdlInput(Game *game);
23    virtual ~SdlInput();
24
25protected:
26    virtual Group GetGroup();
27    virtual void TickGame(float delta_time);
28
29private:
30    SdlInputData *data;
31};
32
33#endif // __DH_SDLINPUT_H__
34
Note: See TracBrowser for help on using the repository browser.