Created
July 16, 2014 17:09
-
-
Save RobDangerous/ee474f8a0d043ddc98ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import kha.Game; | |
import kha.Loader; | |
class TestGame extends Game { | |
public function new() | |
{ | |
super("Test", false); | |
} | |
override public function init(): Void { | |
Loader.the.loadRoom("level", levelLoaded); | |
} | |
private function levelLoaded(): Void { | |
trace("Printing all available images:"); | |
for (s in Loader.the.getAvailableImages()) | |
trace(s); | |
trace("Done"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment