The Mega Snivy Update
Some checks failed
Build / Build Game (push) Has been cancelled

This commit is contained in:
2026-02-28 21:48:00 -05:00
parent 8b2edd1359
commit 17f3348e94
163 changed files with 8725 additions and 13281 deletions

22
src/entity/cursor.cpp Normal file
View File

@@ -0,0 +1,22 @@
#include "cursor.hpp"
#include "../util/imgui.hpp"
using namespace game::util;
using namespace glm;
namespace game::entity
{
Cursor::Cursor(Anm2& anm2) : Actor(anm2, imgui::to_vec2(ImGui::GetMousePos())) {}
void Cursor::tick()
{
Actor::tick();
queue_default_animation();
}
void Cursor::update()
{
state = DEFAULT;
position = imgui::to_vec2(ImGui::GetMousePos());
}
}