Class MouseButtonReleasedCondition

java.lang.Object
com.ardor3d.input.logical.MouseButtonReleasedCondition
All Implemented Interfaces:
Predicate<TwoInputStates>

public final class MouseButtonReleasedCondition extends Object implements Predicate<TwoInputStates>
A condition that is true if a given button was pressed when going from the previous input state to the current one.
  • Constructor Details

    • MouseButtonReleasedCondition

      public MouseButtonReleasedCondition(MouseButton button)
      Construct a new MouseButtonPressedCondition.
      Parameters:
      button - the button that should be pressed to trigger this condition
      Throws:
      NullPointerException - if the button is null
  • Method Details