Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ engine/hxml/export_classes.info
engine/src/AllStencyl.hx
engine/temp/
export/
run.n
run.n

.idea/
*.iml

6 changes: 4 additions & 2 deletions engine/src/scripts/MyAssets.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package scripts;

import com.stencyl.AssetLoader;

import com.stencyl.models.IdType;

class MyAssets implements AssetLoader
{
//Game
Expand All @@ -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;
Expand Down Expand Up @@ -49,7 +51,7 @@ class MyAssets implements AssetLoader
loader.loadResources;
}

public function loadScenes(scenesXML:Map<Int,String>):Void
public function loadScenes(scenesXML:Map<IdType,String>):Void
{
loader.loadScenes;
}
Expand Down