garden/obj/plant.lua
2025-01-08 19:59:24 +09:00

22 lines
381 B
Lua

local entity = require("entity")
local window = require("window")
local seed = require("item/seed")
local pot = {
{'fill', {60, 80, 100, 80, 100, 90, 60, 90}},
{'fill', {65, 90, 95, 90, 90, 120, 70, 120}},
}
local m = entity:from{
width = 120,
height = 120,
}
function m:update()
end
m.draw = window.draw(function (self)
self:draw_lines(pot)
end)
return m