Explorar o código

make getScene() public (same as h3d)

ncannasse %!s(int64=6) %!d(string=hai) anos
pai
achega
899f3b45bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);