Mercurial > fife-parpg
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 %module fife | |
2 %{ | |
3 #include "view/rendererbase.h" | |
4 %} | |
5 | |
6 namespace FIFE { | |
7 class Camera; | |
8 class Layer; | |
9 class Instance; | |
10 class Map; | |
11 | |
12 class RendererBase { | |
13 public: | |
14 RendererBase(); | |
15 virtual ~RendererBase(); | |
16 virtual std::string getName() = 0; | |
17 int getPipelinePosition() { return m_position; } | |
18 void setPipelinePosition(int position); | |
19 void setEnabled(bool enabled); | |
20 bool isEnabled(); | |
21 void addActiveLayer(Layer* layer); | |
22 void removeActiveLayer(Layer* layer); | |
23 void clearActiveLayers(); | |
24 void activateAllLayers(Map* map); | |
25 }; | |
26 | |
27 class IRendererContainer { | |
28 public: | |
29 virtual ~IRendererContainer() {} | |
30 virtual RendererBase* getRenderer(const std::string& renderername) = 0; | |
31 }; | |
32 | |
33 } |