EntityManagerZoned.ZoneEventArgs Class
Definition
Section titled “Definition”Contains event data for a Zone and Entity interaction.
public class EntityManagerZoned.ZoneEventArgsInheritance object
Constructors
Section titled “Constructors”ZoneEventArgs(IScreenSurface, Zone, Entity, Point)
Section titled “ZoneEventArgs(IScreenSurface, Zone, Entity, Point)”Creates a new event args for a zone interaction.
public ZoneEventArgs(IScreenSurface host, Zone zone, Entity entity, Point triggeredPosition)Parameters
Section titled “Parameters”host IScreenSurface
The host that the zone and entity share.
zone Zone
The zone associated with the event.
entity Entity
The entity associated with the event.
triggeredPosition SadRogue.Primitives.Point
The new position within the zone associated with the event.
Fields
Section titled “Fields”The zone associated with the event.
public readonly Zone ZoneEntity
Section titled “Entity”The entity associated with the event.
public readonly Entity EntityThe host that the zone and entity share.
public readonly IScreenSurface HostTriggeredPosition
Section titled “TriggeredPosition”The position within the zone associated with the event.
public readonly Point TriggeredPosition