R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
enemy_scripts.hpp File Reference

Enemy types written in Lua: their values and their behavior, run by the server. More...

#include <aegis2d/core/hot_reload.hpp>
#include <aegis2d/core/math.hpp>
#include <aegis2d/ecs/entity.hpp>
#include <aegis2d/ecs/registry.hpp>
#include <aegis2d/script/state.hpp>
#include <cstdint>
#include <filesystem>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  rtype::EnemyType
 Values of an enemy type, as its script gives them to enemy { ... }. More...
 
class  rtype::EnemyScripts
 The enemy types of a directory of Lua scripts, and the behaviors of their enemies. More...
 

Namespaces

namespace  rtype
 R-Type game code, built on the Aegis2D engine.
 

Functions

std::filesystem::path rtype::default_enemies_directory ()
 Directory of the enemy scripts the server plays.
 
std::vector< std::string > rtype::enemy_types (const std::filesystem::path &directory=default_enemies_directory())
 The enemy types of a directory, as waves files name them.
 

Detailed Description

Enemy types written in Lua: their values and their behavior, run by the server.