Classes
Class | Description | |
---|---|---|
Asteroid |
representing an asteroid that can be destroyed, causing it to split into two objects of half the
size at first. Those of half size can split again and those of third part the size shall vanish.
View code on GitHub | |
Asteroid MoveCrossingScreenEdges | ||
Controls |
Controls, can be set according to a gameState
View code on GitHub | |
Game |
Game Logic and initialization for Asteroids
View code on GitHub | |
HudInterface | ||
InteractionLogic | ||
PlayerShip |
The player's armed spaceship deployed against the dangerous rocks.
Derived Sprite with Updatable giving it movement and fully automatic fireing of rockets.
View code on GitHub | |
Projectile |
Game object representing the projectiles fired by the player
View code on GitHub | |
Velocity2D |
Component for any Entity moving around in 2D space with velocity limited to a maximum value
It can be accelerated (or decelerated, which is the same) by a vector, by magnitude and direction,
or by a scalar factor
View code on GitHub |
Enumerations
Enumeration | Description | |
---|---|---|
AsteroidsRenderLayer | ||
GameState |