Class WakeupAnd


public final class WakeupAnd extends WakeupCondition
Class specifying any number of wakeup conditions ANDed together. This WakeupCondition object specifies that Java 3D should awaken this Behavior when all of the WakeupCondition's constituent wakeup criteria become valid.

Note that a unique WakeupCriterion object must be used for each individual element in the array of wakeup criteria.

  • Constructor Details

    • WakeupAnd

      public WakeupAnd(WakeupCriterion[] conditions)
      Constructs a new WakeupAnd criterion.
      Parameters:
      conditions - a vector of individual Wakeup conditions