Working sound system and most enemies have a sound effect. This will make it easier to add sounds now.

This commit is contained in:
Zed A. Shaw 2025-02-22 12:48:37 -05:00
parent 83df9ff03b
commit 20cbc3a21c
12 changed files with 126 additions and 5 deletions

View file

@ -86,6 +86,11 @@ namespace components {
string name;
};
struct Sound {
std::string attack;
std::string death;
};
struct Animation {
float scale = 0.0f;
bool simple = true;