Turtle = {} function Turtle:new(t) t = t or {} setmetatable(t, self) self.__index = self return t end