HomeServer/lualib-src/Server-main/AllServer/GameServer/Furniture.lua
2024-11-20 15:41:37 +08:00

17 lines
400 B
Lua
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

local skynet = require "skynet"
local oo = require "Class"
local log = require "Log"
local Furniture = oo.class()
function Furniture:Init()
self.id = 0
self.x = 0
self.y = 0
self.rotateType = 0 --翻转的类型 0为默认1为翻转后
self.isPutInFurniture = false --是否放置在别的家具上
end
skynet.server.furniture = Furniture
return Furniture