Class EntityManagerZoned.ZoneMoveEventArgs
Inherited Members
Namespace: SadConsole.Entities
Assembly: SadConsole.Extended.dll
Syntax
public class EntityManagerZoned.ZoneMoveEventArgs : EntityManagerZoned.ZoneEventArgs
Constructors
ZoneMoveEventArgs(IScreenSurface, Zone, Entity, Point, Point)
Creates a new event args for a zone movement event.
Declaration
public ZoneMoveEventArgs(IScreenSurface host, Zone zone, Entity entity, Point triggeredPosition, Point movedFromPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| IScreenSurface | host | The host that the zone and entity share. |
| Zone | zone | The zone associated with the event. |
| Entity | entity | The entity associated with the event. |
| Point | triggeredPosition | The new position within the zone associated with the event. |
| Point | movedFromPosition | The position within the zone that the entity moved from. |
Fields
MovedFromPosition
The position within the zone that the entity moved from.
Declaration
public readonly Point MovedFromPosition
Field Value
| Type | Description |
|---|---|
| Point |