API Docs for: v0.1.0
Show:

DIRECTION Class

Defined in: src\constants.js:232

These represent different directions in the world. They are bitmap flags and can be combined together.

Item Index

Properties

Properties

ALL

Number final static

Represents all directions, binary value: 1111

Default: 15

BOTTOM

Number final static

Represents bottom (down) direction, binary value: 1000

Default: 8

LEFT

Number final static

Represents left direction, binary value: 0001

Default: 1

NONE

Number final static

Represents no direction, binary value: 0000

Default: 0

RIGHT

Number final static

Represents right direction, binary value: 0010

Default: 2

TOP

Number final static

Represents top (up) direction, binary value: 0100

Default: 4