rotation property
double
rotation
Implementation
double get rotation {
if (this.direction == RotationDirection.COUNTER_CLOCKWISE)
return 360 - this._rotation;
else
return this._rotation;
}
double get rotation {
if (this.direction == RotationDirection.COUNTER_CLOCKWISE)
return 360 - this._rotation;
else
return this._rotation;
}