Level Generator 2D

Door Members

The Door type exposes the following members.

Constructors


  Name Description
Public method Door
Creates a door

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetGlobalPoint
Gets the Point where this Door is located globally
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetIndex
Gets the indexed number within the Room of this Door
Public method GetLocalPoint
Gets the Point local to the Room where this Door is located
Public method GetNeighborPoint
Gets the global point to which this door connects
Public method GetSide
Gets which side of its Room this door is on
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IsOpen
Gets whether or not this door is open and available, opposed to having a Room already connected to it on both sides
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PairsWith
Checks if the Door is a valid match with another Door
Public method SetGlobalPoint
Sets the Point where this Door is located globally
Public method SetIndex
Sets the indexed number within the Room of this Door
Public method SetLocalPoint
Sets the Point local to the Room where this Door is located
Public method SetName
Sets the name associated with this Door
Public method SetOpen
Sets whether or not this Door is open and available
Public method SetSide
Sets which side of its Room this Door is on
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)