#include <render.h>
Public Member Functions | |
RenderTriangle (const CoordXY &p1, const CoordXY &p2, const CoordXY &p3, int nPositionZ=0) | |
virtual void | modify (const GameState &state, IRenderWindow *pRenderWindow) override |
virtual bool | canDraw (const GameState &state) override |
virtual void | draw (SDL_Renderer *renderer) override |
Public Member Functions inherited from RenderObject | |
RenderObject (int nPositionZ) | |
virtual | ~RenderObject () |
int | getPositionZ () |
bool | isDestroyed () |
void | destroy () |
int | randomNoise () |
Private Attributes | |
RenderLine | m_line1 |
RenderLine | m_line2 |
RenderLine | m_line3 |
RenderColor | m_color |
Additional Inherited Members | |
Protected Attributes inherited from RenderObject | |
bool | m_bDestroyed |
RenderTriangle::RenderTriangle | ( | const CoordXY & | p1, |
const CoordXY & | p2, | ||
const CoordXY & | p3, | ||
int | nPositionZ = 0 |
||
) |
|
overridevirtual |
Implements RenderObject.
|
overridevirtual |
Implements RenderObject.
|
overridevirtual |
Reimplemented from RenderObject.
|
private |
|
private |
|
private |
|
private |