package Ġcom . gre im ul . po cket assistant . Characters Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . graphics . Bitmap Factory Ċ import Ġandroid . graphics . drawable . Animation Drawable Ċ import Ġandroid . graphics . drawable . Bitmap Drawable Ċ import Ġandroid . graphics . drawable . Drawable Ċ import Ġandroid . view . View Ċ import Ġandroid . view . WindowManager Ċ import Ġandroidx . core . content . res . Resources Compat Ċ import Ġandroidx . core . graphics . drawable . Drawable Compat Ċ import Ġcom . bump tech . glide . G lide Ċ import Ġcom . gre im ul . po cket assistant . R Ċ import Ġkotlinx . android . synt hetic . main . overlay _ character . view .* Ċ import Ġkotlinx . android . synt hetic . main . overlay _ text _ chat . view .* Ċ import Ġkotlin . random . Random Ċ Ċ class ĠWhite Cat ( v : ĠView , chat View : View , c : Context ): Character Standard ( v , chat View , c ) Ġ{ ĊĠĠĠ Ġval Ġstd Drawable Ġ= Ġc . get Drawable ( R . drawable . overlay _ char _ white cat ) ĊĠĠĠ Ġval Ġmov Drawable Ġ= Ġc . get Drawable ( R . drawable . anim _ overlay _ white cat _ move ) ĊĠĠĠ Ġval Ġchat Arr Ġ= Ġc . resources . getString Array ( R . array . white Cat Chat ) ĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġv . image view _ overlay _ character . apply { ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Image Drawable ( std Drawable ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġchange To Move Anim (): Animation Drawable Ġ{ ĊĠĠĠĠĠĠĠ Ġv . image view _ overlay _ character . apply { ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Image Drawable ( mov Drawable ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġdrawable Ġas ĠAnimation Drawable ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠĠĠ Ġoverride Ġfun Ġchange To Normal Img () Ġ{ ĊĠĠĠĠĠĠĠ Ġv . image view _ overlay _ character . apply { ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Image Drawable ( std Drawable ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġset Random Chat () Ġ{ ĊĠĠĠĠĠĠĠ Ġchat View . button _ chat box . text Ġ= Ġchat Arr [ Random . nextInt ( chat Arr . size )] ĊĠĠĠ Ġ} Ċ }