Fix class package
This commit is contained in:
parent
a8656da3a1
commit
4e2f02d658
|
@ -13,7 +13,7 @@ class SidescrollerController extends CameraController {
|
|||
public function new() {
|
||||
super();
|
||||
|
||||
Scene.active.notifyOnInit(init);
|
||||
iron.Scene.active.notifyOnInit(init);
|
||||
}
|
||||
|
||||
function init() {
|
||||
|
|
|
@ -17,7 +17,7 @@ class ThirdPersonController extends CameraController {
|
|||
public function new() {
|
||||
super();
|
||||
|
||||
Scene.active.notifyOnInit(init);
|
||||
iron.Scene.active.notifyOnInit(init);
|
||||
}
|
||||
|
||||
function init() {
|
||||
|
|
|
@ -48,7 +48,7 @@ class VehicleBody extends Trait {
|
|||
|
||||
wheelNames = [wheelName1, wheelName2, wheelName3, wheelName4];
|
||||
|
||||
Scene.active.notifyOnInit(init);
|
||||
iron.Scene.active.notifyOnInit(init);
|
||||
}
|
||||
|
||||
function init() {
|
||||
|
|
Loading…
Reference in a new issue