Mercurial > fife-parpg
comparison engine/core/view/view.i @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children | 90005975cdbb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 %module fife | |
2 %{ | |
3 #include "view/view.h" | |
4 %} | |
5 | |
6 namespace std { | |
7 %template(CameraVector) std::vector<FIFE::Camera*>; | |
8 } | |
9 | |
10 namespace FIFE { | |
11 class RendererBase; | |
12 class View { | |
13 public: | |
14 ~View(); | |
15 Camera* addCamera(const std::string& id, Layer* layr,Rect viewport, ExactModelCoordinate emc); | |
16 Camera* getCamera(const std::string& id); | |
17 std::vector<Camera*>& getCameras(); | |
18 void removeCamera(Camera* camera); | |
19 void clearCameras(); | |
20 void resetRenderers(); | |
21 private: | |
22 View(RenderBackend* renderbackend); | |
23 }; | |
24 } |