00001 #ifndef _ORTHOGRAPHIC_CAMERA_
00002 #define _ORTHOGRAPHIC_CAMERA_
00003
00004 #include "LifeVariables.h"
00005 #include "OrthographicSpace.h"
00006 #include "Viewport.h"
00007
00008
00023 class OrthographicCamera: public OrthographicSpace, public ViewPort {
00024
00025 public:
00026
00027 OrthographicCamera(int left=0,
00028 int right=1,
00029 int bottom=0,
00030 int top=1,
00031 int x=0,
00032 int y=0,
00033 int width=1,
00034 int height=1);
00035
00036
00037
00046 void getLocalWorldCoordinates(int &x, int &y);
00047
00053 void startCamera();
00054
00058 void startCamera(int x, int y, int width, int height);
00059
00061 void stopCamera();
00062
00063 };
00064
00065 #endif