Made cockShooter() in GameMech functional