getAngle method
Implementation
double getAngle() {
switch (quarterTurns) {
case QuarterTurns.zero:
return 0;
case QuarterTurns.one:
return 90;
case QuarterTurns.two:
return 180;
case QuarterTurns.three:
return 270;
default:
return 0;
}
}