added maxSpeed for player for smoother movement
added subclass boss