package Ġnet . tor val d . ter rar um . module comp ut ers . console Ċ Ċ import Ġcom . badlogic . gdx . G dx Ċ import Ġnet . tor val d . gdx . graphics . Pixmap IO 2 Ċ import Ġnet . tor val d . sprite animation . Sprite Animation Ċ import Ġnet . tor val d . ter rar um . App Ċ import Ġnet . tor val d . ter rar um . T err ar um Ċ import Ġnet . tor val d . ter rar um . console . Console Command Ċ import Ġnet . tor val d . ter rar um . console . Echo Ċ import Ġnet . tor val d . ter rar um sans bitmap . gdx . Texture Region Pack Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġmin ja es ong Ġon Ġ 2 0 2 2 - 0 2 - 2 7 . Ċ Ġ*/ Ċ internal Ġobject ĠDump sprite Ġ: ĠConsole Command Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġexecute ( args : ĠArray < String >) Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġplayer Ġ= ĠT err ar um . ing ame !!. actor Now Playing !!. sprite !! ĊĊĠĠĠĠĠĠĠ Ġval Ġfield Ġ= ĠSprite Animation :: class . java . getDeclared Field (" texture Region ") ĊĠĠĠĠĠĠĠ Ġfield . is Accessible Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġval Ġtexture Region Ġ= Ġfield . get ( player ) Ġas ĠTexture Region Pack ĊĠĠĠĠĠĠĠ Ġval Ġtexture Ġ= Ġtexture Region . texture . texture Data ĊĊĠĠĠĠĠĠĠ Ġval Ġpix map Ġ= Ġtexture . consume Pixmap () ĊĠĠĠĠĠĠĠ ĠP ix map IO 2 . write T GA ( G dx . files . absolute ("${ App . default Dir }/ Exports / Player Texture . t ga "), Ġpix map , Ġfalse ) ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġprint Usage () Ġ{ ĊĠĠĠĠĠĠĠ ĠEcho (" A Ġs pear Ġto Ġtest Ġthe Ġing ame 's Ġshield ") ĊĠĠĠ Ġ} Ċ Ċ }