Show / Hide Table of Contents

    Interface ICreatureThatSensesOthers

    Interface for any ICreature in the game that can sense others.

    Inherited Members
    ICreature.StatChanged
    ICreature.Id
    ICreature.BloodType
    ICreature.Article
    ICreature.Name
    ICreature.CorpseTypeId
    ICreature.EmittedLightLevel
    ICreature.EmittedLightColor
    ICreature.Speed
    ICreature.Flags
    ICreature.Inventory
    ICreature.IsDead
    ICreature.CanWalk
    ICreature.Outfit
    ICreature.Direction
    ICreature.LastMovementCostModifier
    ICreature.WalkPlan
    ICreature.Stats
    ICreature.CanSee(ICreature)
    ICreature.CanSee(Location)
    IThing.LocationChanged
    IThing.TypeId
    IThing.UniqueId
    IThing.CanBeMoved
    IThing.TrackedEvents
    IThing.DescribeForLogger()
    IThing.StartTrackingEvent(IEvent, String)
    IThing.StopTrackingEvent(IEvent, String)
    IContainedThing.ParentContainer
    System.IEquatable<Fibula.Common.Contracts.Abstractions.IThing>.Equals(Fibula.Common.Contracts.Abstractions.IThing)
    ICloneableThing<IThing>.Clone()
    IThingContainer.FindThingAtIndex(Byte)
    IThingContainer.AddContent(IThingFactory, IThing, Byte)
    IThingContainer.RemoveContent(IThingFactory, IThing, Byte, Byte)
    IThingContainer.ReplaceContent(IThingFactory, IThing, IThing, Byte, Byte)
    ILocatable.Location
    ILocatable.CarryLocation
    System.IEquatable<Fibula.Creatures.Contracts.Abstractions.ICreature>.Equals(Fibula.Creatures.Contracts.Abstractions.ICreature)
    Namespace: Fibula.Mechanics.Contracts.Abstractions
    Assembly: Fibula.Mechanics.Contracts.dll
    Syntax
    public interface ICreatureThatSensesOthers : ICreature, IThing, IContainedThing, IEquatable<IThing>, ICloneableThing<IThing>, IThingContainer, ILocatable, IEquatable<ICreature>

    Properties

    | Improve this Doc View Source

    TrackedCreatures

    Gets the creatures who are sensed by this creature.

    Declaration
    IEnumerable<ICreature> TrackedCreatures { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<ICreature>

    Methods

    | Improve this Doc View Source

    StartSensingCreature(ICreature)

    Flags a creature as being sensed.

    Declaration
    void StartSensingCreature(ICreature creature)
    Parameters
    Type Name Description
    ICreature creature

    The creature which is sensed.

    | Improve this Doc View Source

    StopSensingCreature(ICreature)

    Flags a creature as no longed being sensed.

    Declaration
    void StopSensingCreature(ICreature creature)
    Parameters
    Type Name Description
    ICreature creature

    The creature that is lost.

    Events

    | Improve this Doc View Source

    CreatureLost

    Event called when this creature loses track of a sensed creature.

    Declaration
    event OnCreatureLost CreatureLost
    Event Type
    Type Description
    OnCreatureLost
    | Improve this Doc View Source

    CreatureSeen

    Event called when this creature sees another.

    Declaration
    event OnCreatureSeen CreatureSeen
    Event Type
    Type Description
    OnCreatureSeen
    | Improve this Doc View Source

    CreatureSensed

    Event called when this creature senses another.

    Declaration
    event OnCreatureSensed CreatureSensed
    Event Type
    Type Description
    OnCreatureSensed

    Extension Methods

    ContainerExtensions.GetParentContainerHierarchy(IContainedThing, Boolean)
    ContainerExtensions.GetParentContainerHierarchy(IThingContainer, Boolean)
    CreatureExtensions.CalculateStepDuration(ICreature, ITile)
    CreatureExtensions.TryRetrieveTrackedOperation(ICreature, String, out IOperation)
    CreatureExtensions.LocationInFront(ICreature)
    CreatureExtensions.RandomAdjacentDirection(ICreature, Boolean, Random)
    CreatureExtensions.RandomAdjacentLocation(ICreature, Boolean, Random)
    ThingExtensions.RemainingExhaustionTime(IThing, ExhaustionType, DateTimeOffset)
    ThingExtensions.HasCondition(IThing, ConditionType)
    ThingExtensions.IsExhausted(IThing, ExhaustionType)
    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.