Created
March 20, 2017 01:02
-
-
Save Majirefy/248f66fc0ea5b3177850d5cc3ea47f5c to your computer and use it in GitHub Desktop.
This file contains 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
private fun loadAtlas() { | |
textureAtlas = manager.get(Resources.SPRITES_ATLAS_PATH, TextureAtlas::class.java) | |
for (e in Resources.RegionNames.values()) { | |
textureMap.put(e.name, textureAtlas.findRegion(e.str)) | |
} | |
for (e in Resources.AnimationNames.values()) { | |
animationMap.put(e.name, createAnimation(e.array)) | |
} | |
makeFonts() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment