public void changeInputMode(AcceptedInput i) { switch (i) { case AcceptedInput.LEFT: acceptsLeft = true; acceptsRight = false; nextClickIsLeft = true; alternates = false; break; case AcceptedInput.RIGHT: acceptsLeft = false; acceptsRight = true; nextClickIsLeft = false; alternates = false; break; case AcceptedInput.BOTH: acceptsLeft = true; acceptsRight = true; alternates = false; nextClickIsLeft = true; break; case AcceptedInput.ALTERNATE: acceptsLeft = true; acceptsRight = true; alternates = true; nextClickIsLeft = true; break; } }
public void changeInputMode(AcceptedInput i) { switch (i) { case AcceptedInput.LEFT: acceptsLeft = true; acceptsRight = false; nextClickIsLeft = true; alternates = false; break; case AcceptedInput.RIGHT: acceptsLeft = false; acceptsRight = true; nextClickIsLeft = false; alternates = false; break; case AcceptedInput.BOTH: acceptsLeft = true; acceptsRight = true; alternates = false; nextClickIsLeft = true; break; case AcceptedInput.ALTERNATE: acceptsLeft = true; acceptsRight = true; alternates = true; nextClickIsLeft = true; break; } }