Represents a font or true-type font.
static void SetLoadSize(const int size, const bool restore=false)
Specifies the size of the font when loaded.
virtual void SetResourceDirectory(const std::string &path)
Sets the location of the directory where the game's resources are stored.
virtual void ResetGameTime()
Resets the game's timing values.
virtual void DisplayFrameRate()
Displays the game's current frame rate.
virtual void SetFrameCounterFont(Font *pFont)
Sets the font for the frame counter.
virtual ScreenManager * GetScreenManager() const
Gets a pointer to the ScreenManager, for managing game screens.
static void SetScreenResolution(int width, int height)
Sets the screen resolution.
virtual void InitializeScreenManager()
Initializes the game's ScreenManager.
virtual void Draw(SpriteBatch &spriteBatch)
Called when the game determines it is time to draw a frame.
virtual ResourceManager * GetResourceManager() const
Gets a pointer to the ResourceManager, for loading and managing resources.
virtual void SetFullScreen(bool isFullScreen)
Sets the game to display in fullscreen mode.
Loads and manages the lifespan of objects from external files.
T * Load(const std::string &path, const bool cache=true, const bool appendContentPath=true)
Load and manage a resource.
virtual void AddScreen(Screen *pScreen)
Add a screen to be managed.
Enables a group of sprites to be drawn using the same settings.
Represents a 2D grid of texels.
The main menu screen for the game.
static void SetTexture(Texture *pTexture)
Set the texture that will be used to render the projectile.
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 void LoadContent(ResourceManager &resourceManager)
Called when resources need to be loaded.
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...