package Ġfr . mes ablo o . he av ym ach defense . managers . assets Ċ Ċ import Ġcom . badlogic . gdx . graphics . Texture Ċ import Ġcom . badlogic . gdx . graphics . g 2 d . Texture Region Ċ import Ġcom . badlogic . gdx . utils . Disposable Ċ import Ġk tx . assets . load Ċ Ċ class ĠStart Assets Manager Ġ: ĠDis posable Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠTITLE _ BACKGROUND Ġ= Ġ" gfx / ui / splash / title . jpg " ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠT AP _ TO _ START Ġ= Ġ" gfx / ui / splash / tap _ to _ start . png " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġpreload () Ġ{ ĊĠĠĠĠĠĠĠ Ġasset Manager . load < Texture >( TITLE _ BACKGROUND ) ĊĠĠĠĠĠĠĠ Ġasset Manager . load < Texture >( T AP _ TO _ START ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġis Fully Loaded (): ĠBoolean Ġ= ĠlistOf ( TITLE _ BACKGROUND , ĠT AP _ TO _ START ). all Ġ{ Ġasset Manager . is Loaded ( it ) Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġdispose () Ġ{ ĊĠĠĠĠĠĠĠ Ġasset Manager . unload ( TITLE _ BACKGROUND ) ĊĠĠĠĠĠĠĠ Ġasset Manager . unload ( T AP _ TO _ START ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtexture ( name : ĠString ): ĠTexture Region Ġ= ĠTexture Region ( asset Manager . get < Texture >( name )) Ċ } Ċ Ċ val Ġstart Assets Manager Ġby Ġlazy Ġ{ ĠStart Assets Manager () Ġ}