heading property

  1. @mustCallSuper
double get heading

The player's bearing in degrees.

Implementation

@mustCallSuper
double get heading => _heading;
set heading (double value)

Set the player's heading.

Implementation

set heading(final double value) {
  _heading = value;
  game.setListenerOrientation(value);
}