view engine/core/view/view.i @ 7:4ae1f92f3340

initial commit
author nikn@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 06 Jul 2008 10:11:44 +0000
parents 4a0efb7baf70
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);
	};
}