You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
368 B
18 lines
368 B
-- A ninja turtle. It likes pizza and lays floors.
|
|
|
|
ninja_turtle = {
|
|
current_position = {0, 0, 0},
|
|
rotation = 0,
|
|
__tostring = function (x) for i,v in pairs(x) do print(i, v) end
|
|
}
|
|
|
|
function ninja_turtle:new()
|
|
o = o or {}
|
|
setmetatable(o, self)
|
|
self.___index = self
|
|
return o
|
|
end
|
|
|
|
-- acquire a path through the path API
|
|
function ninja_turtle:walk(path)
|
|
end
|
|
|