// // IMapInfo.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace NosSmooth.Data.Abstractions.Infos; /// /// The NosTale map information. /// public interface IMapInfo : IVNumInfo { /// /// Gets the width of the grid. /// public short Width { get; } /// /// Gets the height of the grid. /// public short Height { get; } /// /// Gets grid data for the given position. /// /// The x coordinate. /// The y coordinate. /// The grid value. public byte GetData(short x, short y); /// /// Gets whether the given position is walkable. /// /// The x coordinate. /// The y coordinate. /// Whether the position is walkable. public bool IsWalkable(short x, short y); }