YourCityInvadedByAliens
Documentation for code of the game
|
|
Go to the documentation of this file.
16 const YJson &jsonAlienShip,
23 virtual void draw(SDL_Renderer* renderer)
override;
std::string TAG
Definition: render_alienship0.h:26
bool m_bShadow
Definition: render_alienship0.h:33
long m_nPrevPosition
Definition: render_alienship0.h:34
virtual void modify(const GameState &state, IRenderWindow *pRenderWindow) override
Definition: render_alienship0.cpp:46
bool m_bFrameMoveDirectionVertical
Definition: render_alienship0.h:32
int m_nFramesCount
Definition: render_alienship0.h:31
int m_nFrameWidth
Definition: render_alienship0.h:29
RenderAlienShip0(GameAlienShipState *pState, const YJson &jsonAlienShip, bool bShadow, SDL_Texture *tex, int nPositionZ=0)
Definition: render_alienship0.cpp:8
long m_nSpeedAnimation
Definition: render_alienship0.h:35
Definition: render_base.h:42
Definition: game_state.h:10
Definition: render_base.h:26
GameAlienShipState * m_pState
Definition: render_alienship0.h:27
CoordXY m_coordPositionRendering
Definition: render_alienship0.h:28
int m_nFrameHeight
Definition: render_alienship0.h:30
SDL_Texture * m_pTexture
Definition: render_alienship0.h:37
Definition: render_alienship0.h:11
virtual void draw(SDL_Renderer *renderer) override
Definition: render_alienship0.cpp:77
Definition: game_alien_ship_state.h:8
SDL_Rect m_currentFrame
Definition: render_alienship0.h:36
virtual bool canDraw(const GameState &state) override
Definition: render_alienship0.cpp:73