20 lines
306 B
C
20 lines
306 B
C
|
#ifndef _CAMERA_H_
|
||
|
#define _CAMERA_H_
|
||
|
|
||
|
#include <SDL/SDL.h>
|
||
|
|
||
|
class Camera
|
||
|
{
|
||
|
public:
|
||
|
Camera( int width, int height );
|
||
|
virtual ~Camera(void);
|
||
|
virtual void update( void ) = 0;
|
||
|
SDL_Surface* getSurface ( void ) { return pixels; }
|
||
|
|
||
|
protected:
|
||
|
SDL_Surface *pixels;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif /* ifndef _CAMERA_H_ */
|