pleins de trucs

This commit is contained in:
Deadzi06
2026-07-10 06:10:33 +02:00
commit a55abbc5f7
51 changed files with 2235 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
local ToolEvent, super = Class(Event, "tool")
function ToolEvent:init(data)
super.init(self, data.x, data.y, 64, 64, data)
end
function ToolEvent:draw()
super.draw(self)
love.graphics.draw(Assets.getTexture("tool"), 0, 0, 0, 3, 3)
end
function ToolEvent:onInteract(player, dir)
super.onInteract(self, player, dir)
Game.world:openMenu(ToolMenu)
end
return ToolEvent