Browse Source

make getScene() public (same as h3d)

ncannasse 6 years ago
parent
commit
899f3b45bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h2d/Object.hx

+ 1 - 1
h2d/Object.hx

@@ -297,7 +297,7 @@ class Object {
 		return pt;
 	}
 
-	function getScene() : Scene {
+	public function getScene() : Scene {
 		var p = this;
 		while( p.parent != null ) p = p.parent;
 		return Std.instance(p, Scene);