add size to character

This commit is contained in:
Neckrat 2025-08-04 02:08:35 +03:00
parent 9a9b40748d
commit 7587395d2c

View File

@ -13,6 +13,7 @@ local ANIMATION_SPEED = 0.1
--- @field skills table
--- @field class "warrior"|"mage"
--- @field position Vec3
--- @field size Vec3
local character = {}
character.__index = character
@ -35,6 +36,7 @@ local function spawn(name, spriteDir, level)
}
char.position = Vec3({})
char.size = Vec3({})
char.state = "idle"