mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-12 14:51:51 +09:00
sprite and spriteassembler update
This commit is contained in:
@@ -29,9 +29,9 @@ interface HasAssembledSprite {
|
||||
* ```
|
||||
*/
|
||||
fun reassembleSprite(sprite: SpriteAnimation, spriteGlow: SpriteAnimation? = null) {
|
||||
_rebuild(ADProperties(Gdx.files.internal(animDescPath).read()), sprite)
|
||||
_rebuild(ADProperties(Gdx.files.internal(animDescPath)), sprite)
|
||||
if (animDescPathGlow != null && spriteGlow != null)
|
||||
_rebuild(ADProperties(Gdx.files.internal(animDescPathGlow).read()), spriteGlow)
|
||||
_rebuild(ADProperties(Gdx.files.internal(animDescPathGlow)), spriteGlow)
|
||||
}
|
||||
|
||||
/*fun rebuild(animDescPath: String, spriteAnimation: SpriteAnimation) {
|
||||
|
||||
Reference in New Issue
Block a user