Class MovementState

A collection of movement flags.

Hierarchy

  • MovementState

Constructors

Properties

backward: boolean

Backward motion.

backwardBeforeForward: boolean

Controls whether backward movement currently has priority.

boost: boolean

Whether the boost multiplier should be used.

down: boolean

Descent.

forward: boolean

Forward motion.

left: boolean

Movement to the left.

right: boolean

Movement to the right.

rightBeforeLeft: boolean

Controls whether right movement currently has priority.

up: boolean

Ascension.

upBeforeDown: boolean

Controls whether up movement currently has priority.

Accessors

Methods

Generated using TypeDoc