Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Radial8Tile

x: angle position y: radius position z: angular length

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private tiles

tiles: AnyTile[] = []

x

y

z

Static directions

directions: Directions<Radial8Tile> = [[Axes8.N, new Radial8Tile(0, -1, 0)],[Axes8.E, new Radial8Tile(1, 0, 0)],[Axes8.NW, new Radial8Tile(-1, -1, 0)],[Axes8.SW, new Radial8Tile(1, -1, 0)],[Axes8.S, new Radial8Tile(0, 1, 0)],[Axes8.W, new Radial8Tile(-1, 0, 0)],[Axes8.SE, new Radial8Tile(1, 1, 0)],[Axes8.NE, new Radial8Tile(-1, 1, 0)]]

Accessors

key

  • get key(): string

value

Methods

add

cubeLength

directions

distance

equals

neighbors

round

scale

shift

toString

  • toString(): string