Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/graphics/graphics_engine.h @ 3610

Last change on this file since 3610 was 3610, checked in by bensch, 19 years ago

orxonox/trunk: first definition of the Grahpics-class. more to follow, (and to read about)

File size: 568 bytes
Line 
1/*!
2    \file graphics_engine.h
3   
4    \brief defines a Interface between orxonox and graphical input
5
6    handles graphical SDL-initialisation, textures, resolutions, and so on
7*/
8
9#ifndef _GRAPHICS_ENGINE_H
10#define _GRAPHICS_ENGINE_H
11
12#include <SDL/SDL.h>
13
14#include "base_object.h"
15
16// FORWARD DEFINITION \\
17
18
19class GraphicsEngine : public BaseObject
20{
21 public:
22  static GraphicsEngine* getInstance();
23  virtual ~GraphicsEngine();
24
25 private:
26  GraphicsEngine();
27  static GraphicsEngine* singletonRef;
28
29
30  SDL_Surface* screen;
31};
32
33#endif /* _GRAPHICS_ENGINE_H */
Note: See TracBrowser for help on using the repository browser.