view 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 source

%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);
	};
}