• Home
  • API reference
  • Source code
Show / Hide Table of Contents
  • osrlib.Controllers
    • GameManager
  • osrlib.Core
    • Ability
    • AbilityType
    • Adventure
    • Alignment
    • Being
    • BeingTargetingEventArgs
    • BeingTargetingEventHandler
    • CharacterClass
    • Dungeon
    • Encounter
    • GameAction
    • GameActionEventArgs
    • GameActionEventHandler
    • GamePosition
    • Modifier
    • Party
    • Quest
    • User
    • Weapon
    • WeaponType
  • osrlib.Dice
    • DiceHand
    • DiceRoll
    • DiceRolledEventArgs
    • DiceRolledEventHandler
    • Die
  • osrlib.SaveLoad
    • SaveLoadLocal
    • SaveType
  • osrlib.Tests
    • CoreRulesTests
    • DiceTests
    • PartyGenerator
    • ReadMeTests
    • SaveLoadTests
    • SteppedBattleTests
  • osrlib.Utility
    • Randomizer

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 Source

GamePosition(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 Source

X

The position on the x axis.

Declaration
public int X { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Y

The position on the y axis.

Declaration
public int Y { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Z

The position on the z axis.

Declaration
public int Z { get; set; }
Property Value
Type Description
System.Int32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX