Made cocking and firing the catapult separate, and changed the names of variables for clarity.