mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-27 03:53:33 +00:00
13 lines
181 B
Lua
13 lines
181 B
Lua
Player = {}
|
|
|
|
function Player:new(pl)
|
|
player = pl or {}
|
|
self.__index = self
|
|
setmetatable(player, self)
|
|
return player
|
|
end
|
|
|
|
function Player:update()
|
|
print("id = " .. self.id)
|
|
end
|