using System.Collections.Generic; using Robust.Client.Graphics; using Robust.Shared.Map; using Robust.Shared.Maths; namespace Robust.Client.Map { /// /// Stores a texture atlas of all the tile definitions for efficient rendering. /// internal interface IClydeTileDefinitionManager : ITileDefinitionManager { Box2 ErrorTileRegion { get; } /// /// The texture atlas containing all the tiles. /// Texture TileTextureAtlas { get; } /// /// Gets the region inside the texture atlas to use to draw a tile. /// /// If null, do not draw the tile at all. Box2[]? TileAtlasRegion(Tile tile); /// /// Gets the region inside the texture atlas to use to draw a tile type. /// /// If null, do not draw the tile at all. Box2[]? TileAtlasRegion(ushort tileType); } }