public void update(){
		if (StateMachine.getCurrentState() == StateMachine.State.PLAYER_ONE_TURN)
			tank1.update(projectiles);
		else if (StateMachine.getCurrentState() == StateMachine.State.PLAYER_TWO_TURN)
			tank2.update(projectiles);
		Iterator<Projectile> itr = projectiles.iterator();
		while (itr.hasNext()) {
			Projectile p = itr.next();
			p.update(gravity);
			if (p.getBoundingBox().intersects(new Rectangle(land.corner.x, land.corner.y, land.width, land.height))) {
				itr.remove();
			}
			else if (p.isCollidingWith(tank1)) {
				itr.remove();
				System.out.println("Player 1 hit!");
			}
			else if (p.isCollidingWith(tank2)) {
				itr.remove();
				System.out.println("Player 2 hit!");
			}
			else if (p.getBoundingBox().getMinX() < 0  || p.getBoundingBox().getMaxX() > width) {
				itr.remove();
			}
		}
	}