Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PlayerInfo

Interface representing any player of the game

Hierarchy

Properties

address

address: string

Address of the player

balance

balance: number

Current amount of game currency owned by this player

cooldown

cooldown: number

For how long the player cannot make any action

location

location: object

Current location of the player

Type declaration

  • x: integer
  • y: integer

Optional name

name: undefined | string

Name of the player, when set

registered

registered: number

Block number, when was the player registered for the last time

resources

resources: object

Current state of resources of this player

Type declaration

  • common: integer
  • product: integer
  • rare: integer
  • uncommon: integer

stats

stats: object

Chosen skills of the player in this game turn

Type declaration

  • combat: integer
  • mining: integer
  • moving: integer

Generated using TypeDoc