File WaveSchedule.hpp¶
File List > Engine > include > Resources > WaveSchedule.hpp
Go to the documentation of this file
#ifndef ENGINE_RESOURCES_WAVESCHEDULE_HPP_
#define ENGINE_RESOURCES_WAVESCHEDULE_HPP_
#include "Utils/WavePatterns.hpp"
#include <string>
#include <vector>
namespace Engine {
struct WaveDefinition {
std::string name = "Wave";
float triggerX = 0.0f;
std::string prefabPath;
WavePatternType formation = WavePatternType::Line;
unsigned int count = 1;
float spacing = 100.0f;
float baseY = 0.0f;
float spawnOffsetX = 900.0f;
bool attachParent = false;
std::string groupScriptPath;
};
struct WaveSchedule {
std::vector<WaveDefinition> waves;
std::vector<unsigned char> spawned;
};
} // namespace Engine
#endif // ENGINE_RESOURCES_WAVESCHEDULE_HPP_