Struct GamePosition
Represents an object's location within a Dungeon.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: osrlib.Core
Assembly: osrlib.Core.dll
Syntax
public struct GamePosition
Constructors
| Improve this Doc View SourceGamePosition(Int32, Int32, Int32)
Creates a new instance of GamePosition with the specified coordinates.
Declaration
public GamePosition(int x, int y, int z = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | The position on the X axis. |
System.Int32 | y | The position on the y axis. |
System.Int32 | z | The position on the z axis. |
Properties
| Improve this Doc View SourceX
The position on the x axis.
Declaration
public int X { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Y
The position on the y axis.
Declaration
public int Y { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Z
The position on the z axis.
Declaration
public int Z { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |