Merge branch 'master' of github.com:Jaxan/Computercraft
This commit is contained in:
commit
a58b78e3d0
1 changed files with 5 additions and 2 deletions
|
@ -3,13 +3,16 @@
|
||||||
ninja_turtle = {
|
ninja_turtle = {
|
||||||
current_position = {0, 0, 0},
|
current_position = {0, 0, 0},
|
||||||
rotation = 0,
|
rotation = 0,
|
||||||
-- __tostring = function (x) for i,v in pairs(x) do print(i, v) end
|
__tostring = function (x) for i,v in pairs(x) do print(i, v) end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function ninja_turtle:new()
|
function ninja_turtle:new()
|
||||||
o = o or {}
|
o = o or {}
|
||||||
setmetatable(o, self)
|
setmetatable(o, self)
|
||||||
self.___index = self
|
self.___index = self
|
||||||
return o
|
return o
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- acquire a path through the path API
|
||||||
|
function ninja_turtle:walk(path)
|
||||||
|
end
|
||||||
|
|
Reference in a new issue