Files
Jamaique/scripts/objects/Squeak.lua
2026-07-10 06:10:33 +02:00

14 lines
240 B
Lua

---@class Squeak : Event
local Squeak, super = Class(Event)
function Squeak:init(x, y, shape)
super.init(self, x, y, shape)
end
function Squeak:onInteract(player, dir)
Assets.playSound("squeak")
return true
end
return Squeak