coordinates property

Point<double> get coordinates

The player's coordinates.

Implementation

Point<double> get coordinates => _coordinates;
  1. @mustCallSuper
set coordinates (Point<double> value)

Set the player's coordinates.

Implementation

@mustCallSuper
set coordinates(final Point<double> value) {
  _coordinates = value;
  game.setListenerPosition(value.x, value.y, 0.0);
}