Show / Hide Table of Contents

Class EntityManagerZoned.ZoneEventArgs

Contains event data for a Zone and Entity interaction.

Inheritance
object
EntityManagerZoned.ZoneEventArgs
EntityManagerZoned.ZoneMoveEventArgs
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX