Class Waypoint
- Namespace
- FrameOfReference.World.Positionables
- Assembly
- FrameOfReference.World.dll
A marker used to control automated Entity movement.
public class Waypoint : Positionable<Vector2>, ICloneable, IChangeNotify<Positionable<Vector2>>
- Inheritance
-
Positionable<Vector2>Waypoint
- Implements
- Inherited Members
- Extension Methods
Properties
ActivationTime
public double ActivationTime { get; set; }
Property Value
ArrivalTime
The GameTime when Entitys reach this waypoint. Set automatically by HandleWaypoints(Entity, double).
public double ArrivalTime { get; set; }
Property Value
ArrivalTimeSpecified
Indicates whether ArrivalTime has been set.
[Browsable(false)]
public bool ArrivalTimeSpecified { get; set; }
Property Value
OriginPosition
The position where an Entity walking towards this waypoint started off. Set automatically by HandleWaypoints(Entity, double).
public Vector2 OriginPosition { get; set; }
Property Value
- Vector2
OriginPositionSpecified
Indicates whether OriginPosition has been set.
[Browsable(false)]
public bool OriginPositionSpecified { get; set; }
Property Value
TargetEntity
The name of the Entity this waypoint is for.
public string? TargetEntity { get; set; }
Property Value
Methods
OnChanged()
To be called when a property relevant for rendering has changed.
protected override void OnChanged()