addHabit(new GravityHabit(dynamic));
state = addHabit(new PlatformCharacterStateHabit(dynamic));
addHabit(new PlatformCharacterInputHabit(state));
addHabit(new PlatformCharacterAnimationHabit("player", 52, animation, state));
addHabit(new PlatformCharacterMovementHabit(state, dynamic, animation));
addHabit(new MagRayHabit(dynamic));
space = ((LevelScene) getScene()).getSpace();
onAfterMove();
}