|
R-Type
Networked shoot'em up built on Aegis2D
|
Creation of the R-Type entities with their components. More...
#include <aegis2d/core/math.hpp>#include <aegis2d/ecs/entity.hpp>#include <aegis2d/ecs/registry.hpp>#include <rtype/tuning.hpp>#include <cstddef>Go to the source code of this file.
Namespaces | |
| namespace | rtype |
| R-Type game code, built on the Aegis2D engine. | |
Functions | |
| aegis2d::Vec2 | rtype::player_spawn (std::size_t slot) |
| Where a player slot starts and respawns. | |
| aegis2d::ecs::Entity | rtype::spawn_player (aegis2d::ecs::Registry ®istry, std::size_t slot) |
| Creates the ship of a player. | |
| aegis2d::ecs::Entity | rtype::spawn_player_missile (aegis2d::ecs::Registry ®istry, aegis2d::ecs::Entity shooter) |
| Creates a missile fired by a player, in front of its ship. | |
| aegis2d::ecs::Entity | rtype::spawn_enemy_missile (aegis2d::ecs::Registry ®istry, aegis2d::Vec2 position) |
| Creates a missile fired by an enemy. | |
| aegis2d::ecs::Entity | rtype::fire_enemy_missile (aegis2d::ecs::Registry ®istry, aegis2d::ecs::Entity shooter) |
| Creates the missile an enemy fires, in front of it (on its left). | |
Creation of the R-Type entities with their components.