// // LivingEntity.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. using NosCore.Packets.Enumerations; using NosCore.Shared.Enumerations; using NosSmooth.Game.Data; namespace NosSmooth.Game.Entities; /// /// Represents any nostale living entity such as monster, npc, player. /// public interface ILivingEntity : IEntity { /// /// Gets the speed of the entity. May be null if unknown. /// public byte? Speed { get; } /// /// Gets the level of the entity. May be null if unknown. /// public ushort? Level { get; } /// /// Gets the direction the entity is looking. May be null if unknown. /// public byte? Direction { get; } /// /// Gets the percentage of the health points of the entity. May be null if unknown. /// public byte? HpPercentage { get; } /// /// Gets the percentage of the mana points of the entity. May be null if unknown. /// public byte? MpPercentage { get; } /// /// Gets the faction of the entity. May be null if unknown. /// public FactionType? Faction { get; } }