Mercurial > fife-parpg
view engine/core/view/rendererbase.i @ 29:0cb049f291e1
make members private and prefix with m_
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 11 Jul 2008 13:00:10 +0000 |
parents | 4a0efb7baf70 |
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; }; }