Mercurial > fife-parpg
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/engine/core/view/view.i Sun Jun 29 18:44:17 2008 +0000 @@ -0,0 +1,24 @@ +%module fife +%{ +#include "view/view.h" +%} + +namespace std { + %template(CameraVector) std::vector<FIFE::Camera*>; +} + +namespace FIFE { + class RendererBase; + class View { + public: + ~View(); + Camera* addCamera(const std::string& id, Layer* layr,Rect viewport, ExactModelCoordinate emc); + Camera* getCamera(const std::string& id); + std::vector<Camera*>& getCameras(); + void removeCamera(Camera* camera); + void clearCameras(); + void resetRenderers(); + private: + View(RenderBackend* renderbackend); + }; +}