game/Render/WorldRenderer.cs
/// <summary>
/// Get canvas representation of given world.
/// </summary>
/// <param name="world">World to be represented.</param>
/// <returns>Canvas representing graphical view of world.</returns>
Get canvas representation of given world.
Get canvas representation of given world .
public static Canvas GetCanvas(World world)
            => new (GetSpriteMap(world.TileMap)
                .Map(sprite => DatabaseEmotes<Sprite>.Database[sprite])
                .GetAllRows()
            );
public static Canvas GetCanvas ( World world ) => new ( GetSpriteMap ( world . TileMap ) . Map ( sprite => DatabaseEmotes < Sprite > . Database [ sprite ] ) . GetAllRows ( ) ) ;
Get canvas representation of given world.
Get canvas representation of given world .
Canvas representing graphical view of world.
Canvas representing graphical view of world .
world
World
World to be represented.
World to be represented .