//
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace MUnique.OpenMU.GameLogic;
using MUnique.OpenMU.Pathfinding;
///
/// Interface for an object which has a location on a map.
///
public interface ILocateable : IIdentifiable
{
///
/// Gets the current map on which the object currently is.
///
GameMap? CurrentMap { get; }
///
/// Gets or sets the coordinates on the map.
///
Point Position { get; set; }
}
///
/// Interface for objects which have bucket information.
///
public interface IHasBucketInformation
{
///
/// Gets or sets the current bucket where this instance currently moves at.
/// This is helpful for other objects to determine if the observation should
/// be continued or not.
///
Bucket? NewBucket { get; set; }
///
/// Gets or sets the bucket where this instance currently moves away.
/// This is helpful for other objects to determine if the observation should
/// be continued or not.
///
Bucket? OldBucket { get; set; }
}