YourCityInvadedByAliens
Documentation for code of the game
|
|
Go to the documentation of this file.
15 virtual void draw(SDL_Renderer* renderer)
override;
const CoordXY & getCoord2()
Definition: render_line.cpp:43
const CoordXY & getAbsoluteCoord1()
Definition: render_line.cpp:31
CoordXY m_coord1
Definition: render_line.h:26
RenderLine(const CoordXY &p1, const CoordXY &p2, const RenderColor &color, int nPositionZ=0)
Definition: render_line.cpp:6
Definition: render_base.h:12
CoordXY m_coord2
Definition: render_line.h:27
const CoordXY & getCoord1()
Definition: render_line.cpp:39
RenderColor m_color
Definition: render_line.h:28
Definition: render_line.h:4
Definition: render_base.h:42
virtual bool canDraw(const GameState &state) override
Definition: render_line.cpp:19
const CoordXY & getAbsoluteCoord2()
Definition: render_line.cpp:35
Definition: game_state.h:10
Definition: render_base.h:26
CoordXY m_startCoord2
Definition: render_line.h:25
CoordXY m_startCoord1
Definition: render_line.h:24
void updateAbsoluteCoords(const CoordXY &p1, const CoordXY &p2)
Definition: render_line.cpp:47
virtual void modify(const GameState &state, IRenderWindow *pRenderWindow) override
Definition: render_line.cpp:14
virtual void draw(SDL_Renderer *renderer) override
Definition: render_line.cpp:26