package Ġkotlin mud . app Ċ Ċ import Ġkotlin mud . event . observer . type . Observer List Ċ import Ġkotlin mud . event . service . Event Service Ċ import Ġkotlin mud . io . service . Server Service Ċ import Ġkotlin mud . player . auth . service . Auth Step Service Ċ import Ġkotlin mud . player . service . Player Service Ċ import Ġkotlin mud . startup . service . Startup Service Ċ import Ġorg . kode in . di . er ased . instance Ċ Ċ fun Ġcreate App ( port : ĠInt ): ĠApp Ġ{ ĊĠĠĠ Ġval Ġcontainer Ġ= Ġcreate Container ( port ) ĊĠĠĠ Ġval Ġevent Service Ġby Ġcontainer . instance < Event Service >() ĊĠĠĠ Ġval Ġserver Ġby Ġcontainer . instance < Server Service >() ĊĠĠĠ Ġval Ġob servers Ġby Ġcontainer . instance < Observer List >() ĊĠĠĠ Ġevent Service . ob servers Ġ= Ġob servers ĊĠĠĠ Ġval Ġplayer Service Ġby Ġcontainer . instance < Player Service >() ĊĠĠĠ Ġval Ġauth Step Service Ġby Ġcontainer . instance < Auth Step Service >() ĊĠĠĠ Ġplayer Service . set Auth Step Service ( auth Step Service ) ĊĠĠĠ Ġval Ġstartup Service Ġby Ġcontainer . instance < Startup Service >() ĊĠĠĠ Ġstartup Service . hyd rate World () ĊĊĠĠĠ Ġreturn ĠApp ( event Service , Ġserver ) Ċ } Ċ