Entity.EntityMovedEventArgs Class
Definition
Section titled “Definition”Arguments for the entity moved event.
public class Entity.EntityMovedEventArgs : EventArgsInheritance object → EventArgs
Constructors
Section titled “Constructors”EntityMovedEventArgs(Entity, Point)
Section titled “EntityMovedEventArgs(Entity, Point)”Creates a new event args for the entity movement.
public EntityMovedEventArgs(Entity entity, Point oldPosition)Parameters
Section titled “Parameters”entity Entity
The entity associated with the event.
oldPosition SadRogue.Primitives.Point
The position the entity moved from.
Fields
Section titled “Fields”Entity
Section titled “Entity”The entity associated with the event.
public readonly Entity EntityFromPosition
Section titled “FromPosition”The position the Entity moved from.
public readonly Point FromPosition