Mercurial > fife-parpg
view engine/core/view/rendererbase.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/rendererbase.h" %} namespace FIFE { class Camera; class Layer; class Instance; class Map; class RendererBase { public: RendererBase(); virtual ~RendererBase(); virtual std::string getName() = 0; int getPipelinePosition() { return m_position; } void setPipelinePosition(int position); void setEnabled(bool enabled); bool isEnabled(); void addActiveLayer(Layer* layer); void removeActiveLayer(Layer* layer); void clearActiveLayers(); void activateAllLayers(Map* map); }; class IRendererContainer { public: virtual ~IRendererContainer() {} virtual RendererBase* getRenderer(const std::string& renderername) = 0; }; }