Mercurial > fife-parpg
comparison engine/core/view/renderers/geometricrenderer.i @ 17:ae46cee19e76
- add geometric renderer, can currently only draw liens.
- thanks to l4rs for some help
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 07 Jul 2008 00:27:59 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
16:ca21a01f5b1e | 17:ae46cee19e76 |
---|---|
1 %module fife | |
2 %{ | |
3 #include "view/renderers/geometricrenderer.h" | |
4 %} | |
5 | |
6 namespace FIFE { | |
7 class RenderBackend; | |
8 | |
9 class GeometricRenderer: public RendererBase { | |
10 public: | |
11 virtual ~GeometricRenderer(); | |
12 std::string getName(); | |
13 void addLine(Point p1, Point p2, int r, int g, int b); | |
14 void removeAllLines(); | |
15 static GeometricRenderer* getInstance(IRendererContainer* cnt); | |
16 private: | |
17 GeometricRenderer(RenderBackend* renderbackend, int position); | |
18 }; | |
19 } |