28 static void SetTexture(Texture *pTexture) { s_pTexture = pTexture; }
32 virtual void Update(
const GameTime *pGameTime);
36 virtual void Draw(SpriteBatch *pSpriteBatch);
40 virtual void Hit(
const float damage);
45 static Texture *s_pTexture;
Sample is a sample game to use as a template for using Katana Engine and Shooter Library.
Definition: Background.cpp:14
virtual void Hit(const float damage)
Hits the object, dealing damage to it.
Definition: BioEnemyShip.cpp:47
Class for bio enemies.
Definition: BioEnemyShip.h:18
static void SetTexture(Texture *pTexture)
Sets the texture of the bio enemies.
Definition: BioEnemyShip.h:28
Base class for enemy ships.
Definition: EnemyShip.h:20
virtual void Update(const GameTime *pGameTime)
Called when the game determines it is time to draw a frame.
Definition: BioEnemyShip.cpp:25
virtual void Draw(SpriteBatch *pSpriteBatch)
Called when the game determines it is time to draw a frame.
Definition: BioEnemyShip.cpp:38