adding the cannons and fixing a bug for ship animation