haraldhv
/
aigo
Archived
1
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
aigo/lib/camera.h

22 lines
360 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:
Camera( void );
SDL_Surface *pixels;
void init(int width, int height);
};
#endif /* ifndef _CAMERA_H_ */