GalaxyEggbertCnaGame

CNA Game subclass — the entry point and per-frame driver of GalaxyEggbertCNA.

Overview

GalaxyEggbertCnaGame (namespace GalaxyEggbert::CNA) subclasses Microsoft::Xna::Framework::Game, CNA's XNA-compatible game base class. It owns the world runtime, terrain renderer, tile atlas, texture, effect, Blupi controller, and camera.

Sources: src/GalaxyEggbertCNA/GalaxyEggbertCnaGame.hpp and .cpp, constructed from src/GalaxyEggbertCNA/main.cpp.

Construction

Sets the window title via getWindowProperty().setTitleProperty("Galaxy Eggbert (CNA)").

Overridden Methods

LoadContent()

Update(GameTime& gameTime)

Draw(const GameTime& gameTime)

What This Class Does Not Do

No phase/state-machine dispatch, no HUD, no sound, no object rendering, no Blupi sprite. It is purely: load one world, render its terrain, move an invisible collision point through it.

Dependencies