Exemplo n.º 1
0
 protected void applyOnCompletedFlags() {
   final Actor target = getTarget();
   if (target != null) {
     if ((mOptions & HIDE_TARGET_ON_COMPLETED) != 0) {
       target.setVisible(false);
     }
     if ((mOptions & ACTIVATE_TARGET_ON_COMPLETED) != 0) {
       target.setReactive(true);
     }
   }
 }
Exemplo n.º 2
0
 protected void applyOnStartedFlags() {
   final Actor target = getTarget();
   if (target != null) {
     if ((mOptions & SHOW_TARGET_ON_STARTED) != 0) {
       target.setVisible(true);
     }
     if ((mOptions & DEACTIVATE_TARGET_ON_STARTED) != 0) {
       target.setReactive(false);
     }
   }
 }