Removed the switch statements in onHammerRightClick and onHammerLeftClick and replaced with polymorphism of SlopeType.