turtle init stuff
This commit is contained in:
@@ -4,9 +4,16 @@ import kernel.turtle.Types;
|
||||
|
||||
using tink.CoreApi;
|
||||
|
||||
typedef TurtleSlot = Int;
|
||||
|
||||
class Turtle {
|
||||
public static var instance:Turtle;
|
||||
|
||||
@:allow(kernel.Init)
|
||||
private function new() {
|
||||
if (!Turtle.isTurtle()){
|
||||
Log.warn("Tried to initialize Turtle, but it is not available.");
|
||||
}
|
||||
}
|
||||
|
||||
public static function isTurtle():Bool {
|
||||
return true; // TODO: Implement
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user