most of beginning of thing done woop
This commit is contained in:
11
src/ships/Node.lua
Normal file
11
src/ships/Node.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return function(x, y, rotation)
|
||||
local self = {}
|
||||
|
||||
self.x = x or 0
|
||||
self.y = y or 0
|
||||
self.rotation = rotation or 0
|
||||
|
||||
self.docked = false
|
||||
|
||||
return self
|
||||
end
|
Reference in New Issue
Block a user