YourCityInvadedByAliens
Documentation for code of the game
|
|
Go to the documentation of this file.
18 virtual void draw(SDL_Renderer* renderer)
override;
SDL_Rect m_currentFrame
Definition: render_rocket.h:30
int m_nLifeTime
Definition: render_rocket.h:25
RenderRocket(GameRocketState *pTank0State, SDL_Texture *tex, int nPositionZ=0)
Definition: render_rocket.cpp:9
virtual ~RenderRocket()
Definition: render_rocket.cpp:24
Definition: game_rocket_state.h:6
virtual bool canDraw(const GameState &state) override
Definition: render_rocket.cpp:106
int m_nMaxLifeTime
Definition: render_rocket.h:26
virtual void modify(const GameState &state, IRenderWindow *pRenderWindow) override
Definition: render_rocket.cpp:28
YPos m_coordRenderEnd
Definition: render_rocket.h:22
Definition: render_rocket.h:6
long m_nSpeedAnimation
Definition: render_rocket.h:27
Definition: render_base.h:42
long m_nPrevPosition
Definition: render_rocket.h:24
Definition: game_state.h:10
Definition: render_base.h:26
SDL_Texture * m_pTexture
Definition: render_rocket.h:31
virtual void draw(SDL_Renderer *renderer) override
Definition: render_rocket.cpp:113
YPos m_coordRender
Definition: render_rocket.h:21
GameRocketState * m_pRocketState
Definition: render_rocket.h:28
YPos m_size
Definition: render_rocket.h:23