示例#1
0
 @Override
 public boolean tick(Tickable ticking, int tickID) {
   if (destroyIfNecessary()) return false;
   if (!super.tick(ticking, tickID)) return false;
   super.makeLongLasting();
   for (final Object[] A : affects)
     if (!((Tickable) A[0]).tick(ticking, tickID)) unAffectAffected(A);
     else if ((--((int[]) A[1])[0]) <= 0) unAffectAffected(A);
   return true;
 }
示例#2
0
 public PresenceReaction() {
   super();
   super.makeLongLasting();
   super.savable = false;
   super.canBeUninvoked = false;
 }