PGRData/Script/matrix/xentity/xrpgmakergame/object/XRpgMakerGameBlock.lua

24 lines
600 B
Lua
Raw Normal View History

local XRpgMakerGameObject = require("XEntity/XRpgMakerGame/Object/XRpgMakerGameObject")
local type = type
local pairs = pairs
local Default = {
_BlockStatus = 0, --状态1阻挡0不阻挡
}
2024-09-01 20:49:41 +00:00
---推箱子阻挡物对象
---@class XRpgMakerGameBlock:XRpgMakerGameObject
local XRpgMakerGameBlock = XClass(XRpgMakerGameObject, "XRpgMakerGameBlock")
function XRpgMakerGameBlock:Ctor(id)
for key, value in pairs(Default) do
if type(value) == "table" then
self[key] = {}
else
self[key] = value
end
end
end
return XRpgMakerGameBlock