Class EntityManagerZoned.ZoneEventArgs
Inherited Members
Namespace: SadConsole.Entities
Assembly: SadConsole.Extended.dll
Syntax
public class EntityManagerZoned.ZoneEventArgs
Constructors
ZoneEventArgs(IScreenSurface, Zone, Entity, Point)
Creates a new event args for a zone interaction.
Declaration
public ZoneEventArgs(IScreenSurface host, Zone zone, Entity entity, Point triggeredPosition)
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. |
Fields
Entity
The entity associated with the event.
Declaration
public readonly Entity Entity
Field Value
Type | Description |
---|---|
Entity |
Host
The host that the zone and entity share.
Declaration
public readonly IScreenSurface Host
Field Value
Type | Description |
---|---|
IScreenSurface |
TriggeredPosition
The position within the zone associated with the event.
Declaration
public readonly Point TriggeredPosition
Field Value
Type | Description |
---|---|
Point |
Zone
The zone associated with the event.
Declaration
public readonly Zone Zone
Field Value
Type | Description |
---|---|
Zone |