Class Entity.EntityMovedEventArgs
Arguments for the entity moved event.
Inherited Members
Namespace: SadConsole.Entities
Assembly: SadConsole.dll
Syntax
public class Entity.EntityMovedEventArgs : EventArgs
Constructors
EntityMovedEventArgs(Entity, Point)
Creates a new event args for the entity movement.
Declaration
public EntityMovedEventArgs(Entity entity, Point oldPosition)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity associated with the event. |
Point | oldPosition | The position the entity moved from. |
Fields
Entity
The entity associated with the event.
Declaration
public readonly Entity Entity
Field Value
Type | Description |
---|---|
Entity |
FromPosition
The position the Entity moved from.
Declaration
public readonly Point FromPosition
Field Value
Type | Description |
---|---|
Point |