diff --git a/ninja_turtle b/ninja_turtle new file mode 100644 index 0000000..bae24ae --- /dev/null +++ b/ninja_turtle @@ -0,0 +1,15 @@ +-- 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