refactoring, new game(s) in progress

This commit is contained in:
2026-04-09 12:47:09 -04:00
parent f7b00847ee
commit a529d5cdce
57 changed files with 2743 additions and 759 deletions
+26
View File
@@ -0,0 +1,26 @@
#pragma once
#include <imgui.h>
#include <string>
#include <vector>
namespace game::state::play::menu
{
class Toasts
{
public:
struct Toast
{
std::string message{};
ImVec2 position{};
int time{};
int timeMax{};
};
std::vector<Toast> toasts{};
void spawn(const std::string& message, const ImVec2& position, int time);
void update(ImDrawList*);
};
}