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

23 lines
541 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不阻挡
}
--阻挡物对象
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