|
2D Geom Bibliothek
|
#include <Drawable.h>
Öffentliche Methoden | |
| Drawable () | |
| virtual void | draw ()=0 |
| void | setColor (float red, float green, float blue) |
| const float * | getColor () const |
Geschützte Methoden | |
| virtual void | setupColor () |
Diese abstrakte Klasse ist die Baseklasse aller zeichenbaren Komponenten
| Drawable::Drawable | ( | ) |
Leerkonstuktor, stellt das Farbe zu weiß
|
pure virtual |
| const float * Drawable::getColor | ( | ) | const |
Gibt die Farbe zurück
| void Drawable::setColor | ( | float | red, |
| float | green, | ||
| float | blue | ||
| ) |
Stellt die Farbe ein
|
protectedvirtual |
Stellt die Farbe in openGL zu der eingestellten Farbe ein
1.8.11