package Ġcom . fab iant arr ach . break inout . util Ċ Ċ import Ġcom . badlogic . gdx . G dx Ċ import Ġcom . fab iant arr ach . break inout . util . screen . Screen State Ċ import Ġk tx . app . Kotlin Application Ċ Ċ abstract Ġclass ĠKotlin Game Ġ: ĠKotlin Application (), ĠScreen State Ġ{ ĊĊ ĉ class ĠEmpty Screen Ġ: ĠG dx Screen Adapter () ĊĊ ĉ private Ġvar Ġscreen : ĠG dx Screen Ġ= ĠEmpty Screen () ĊĊ ĉ override Ġfun Ġshow Screen ( screen : ĠG dx Screen ) Ġ{ Ċĉ ĉ this . screen . hide () Ċĉ ĉ this . screen Ġ= Ġscreen Ċĉ ĉ this . screen . show () Ċĉ ĉ this . screen . resize ( G dx . graphics . width , ĠG dx . graphics . height ) Ċ ĉ } ĊĊ ĉ override Ġfun Ġdispose () Ġ= Ġscreen . hide () ĊĊ ĉ override Ġfun Ġpause () Ġ= Ġscreen . pause () ĊĊ ĉ override Ġfun Ġresume () Ġ= Ġscreen . resume () ĊĊ ĉ override Ġfun Ġrender ( delta : ĠFloat ) Ġ= Ġscreen . render ( delta ) ĊĊ ĉ override Ġfun Ġresize ( width : ĠInt , Ġheight : ĠInt ) Ġ= Ġscreen . resize ( width , Ġheight ) Ċ Ċ } Ċ