Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
BioEnemyShip.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
EnemyShip.h
"
5
7
class
BioEnemyShip
:
public
EnemyShip
8
{
9
10
public
:
11
13
BioEnemyShip
();
14
virtual
~BioEnemyShip
() { }
15
18
virtual
void
SetTexture
(
Texture
*pTexture) { m_pTexture = pTexture; }
19
22
virtual
void
Update
(
const
GameTime
& gameTime);
23
26
virtual
void
Draw
(
SpriteBatch
& spriteBatch);
27
28
29
private
:
30
31
Texture
*m_pTexture =
nullptr
;
32
33
};
EnemyShip.h
BioEnemyShip
Represents an enemy ship that is biological in nature.
Definition
BioEnemyShip.h:8
BioEnemyShip::BioEnemyShip
BioEnemyShip()
Creates a new instance of BioEnemyShip.
Definition
BioEnemyShip.cpp:6
BioEnemyShip::Update
virtual void Update(const GameTime &gameTime)
Updates the enemy ship.
Definition
BioEnemyShip.cpp:14
BioEnemyShip::SetTexture
virtual void SetTexture(Texture *pTexture)
Sets the texture that will be used to render the enemy ship.
Definition
BioEnemyShip.h:18
BioEnemyShip::~BioEnemyShip
virtual ~BioEnemyShip()
Definition
BioEnemyShip.h:14
BioEnemyShip::Draw
virtual void Draw(SpriteBatch &spriteBatch)
Draws the enemy ship.
Definition
BioEnemyShip.cpp:29
EnemyShip
Represents an enemy ship.
Definition
EnemyShip.h:8
KatanaEngine::GameTime
Contains timing values for game updates and rendering.
Definition
GameTime.h:21
KatanaEngine::SpriteBatch
Enables a group of sprites to be drawn using the same settings.
Definition
SpriteBatch.h:48
KatanaEngine::Texture
Represents a 2D grid of texels.
Definition
Texture.h:21
doxy_src
SpaceFighter
BioEnemyShip.h
Generated by
1.11.0