package Ġme . pe ter h end erson . per udo . game Ċ Ċ import Ġme . pe ter h end erson . per udo . core . Dice Rol ler Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠGame Presenter Ġ@ Inject Ġconstructor ( val Ġrng : ĠD ice Rol ler ) Ġ{ ĊĠĠĠ Ġlateinit Ġvar Ġview : ĠGame View ĊĊĠĠĠ Ġfun ĠonCreate ( view : ĠGame View ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . view Ġ= Ġview ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġroll Dice T apped () Ġ{ ĊĠĠĠĠĠĠĠ Ġview . display Dice ( rng . roll Nd 6 ( 5 )) ĊĠĠĠ Ġ} Ċ }