Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
SpaceFighter.h
Go to the documentation of this file.
1
2#pragma once
3
4#include "KatanaEngine.h"
5#include "SpriteBatch.h"
6
7using namespace KatanaEngine;
8
10class SpaceFighter : public Game
11{
12public:
13
16 virtual ~SpaceFighter() { }
17
19 virtual std::string GetName() const { return "Space Fighter"; }
20
24 virtual void LoadContent(ResourceManager& resourceManager);
25
28 virtual void Draw(SpriteBatch& spriteBatch);
29};
Base class for all games. Provides graphics initialization, game loop, and rendering code....
Definition Game.h:22
Loads and manages the lifespan of objects from external files.
Enables a group of sprites to be drawn using the same settings.
Definition SpriteBatch.h:48
The main game class for the Space Fighter game.
virtual void Draw(SpriteBatch &spriteBatch)
Called when the game determines it is time to draw a frame.
SpaceFighter()
Initializes a new instance of the SpaceFighter game.
virtual std::string GetName() const
Gets the name of the game.
virtual void LoadContent(ResourceManager &resourceManager)
Called when resources need to be loaded.
virtual ~SpaceFighter()
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition Animation.cpp:18