// If we are making the affordance ACTIVE, we want to create the
// visual affordance Entity. We must do this *before* we call the
// super.setStatus() method which relies upon a valid affordance
if (status == CellStatus.ACTIVE) {
if (increasing) {
affordance = new RotateAffordance(getSceneGraphRoot());
((RotateAffordance)affordance).addRotationListener(listener);
} else {
((RotateAffordance)affordance).removeRotationListener(listener);
}
}