isTurtle check

This commit is contained in:
2023-07-31 16:40:11 +02:00
parent 016063e3be
commit 98b8465436
2 changed files with 15 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ class Turtle {
}
public static function isTurtle():Bool {
return true; // TODO: Implement
return cc.Turtle != null;
}
private function conterToOutcome(r:cc.Turtle.TurtleActionResult):Outcome<Noise, String> {