Ballz.SessionFactory.Worms.ImplInitializeSession C# (CSharp) Method

ImplInitializeSession() protected method

protected ImplInitializeSession ( Ballz game, GameSession settings ) : void
game Ballz
settings GameSession
return void
        protected override void ImplInitializeSession(Ballz game, GameSession.Logic.GameSettings settings)
        {
            var mapTexture = MapName == "Generated" ? TerrainGenerator.GenerateTerrain(width,height): game.Content.Load<Texture2D>("Worlds/" + MapName);
            settings.MapName = MapName;
            settings.MapTexture = mapTexture;
        }