diff --git a/.gitignore b/.gitignore index ae7c927..bf70daf 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,8 @@ engine/hxml/export_classes.info engine/src/AllStencyl.hx engine/temp/ export/ -run.n \ No newline at end of file +run.n + +.idea/ +*.iml + diff --git a/engine/src/scripts/MyAssets.hx b/engine/src/scripts/MyAssets.hx index d0a1e9b..a4931f6 100644 --- a/engine/src/scripts/MyAssets.hx +++ b/engine/src/scripts/MyAssets.hx @@ -2,6 +2,8 @@ package scripts; import com.stencyl.AssetLoader; +import com.stencyl.models.IdType; + class MyAssets implements AssetLoader { //Game @@ -10,7 +12,7 @@ class MyAssets implements AssetLoader public static var scaleMode:Int; public static var stageWidth:Int; public static var stageHeight:Int; - public static var initSceneID:Int; + public static var initSceneID:IdType; public static var physicsMode:Int; public static var gameScale:Float; public static var gameImageBase:String; @@ -49,7 +51,7 @@ class MyAssets implements AssetLoader loader.loadResources; } - public function loadScenes(scenesXML:Map):Void + public function loadScenes(scenesXML:Map):Void { loader.loadScenes; }