/*---------- ---------- ---------- ---------- ----------*/ // game related // create & get worlds public async Task <World[]> CreateWorlds() { List <World> list = new List <World>(); WorldMethods worlds = new WorldMethods(); var ruins = worlds.CreateWorldRuins(); var jungle = worlds.CreateWorldJungle(); var desert = worlds.CreateWorldDesert(); var lake = worlds.CreateWorldLake(); list.Add(ruins); list.Add(jungle); list.Add(desert); list.Add(lake); await _worldCollection.InsertManyAsync(list); return(list.ToArray()); }