Ejemplo n.º 1
0
  void resetTimelineStateList() {
    int i = _timelineStateList.size();
    while (i-- > 0) {
      TimelineState.returnObject(_timelineStateList.get(i));
    }
    _timelineStateList.clear();

    i = _slotTimelineStateList.size();
    while (i-- > 0) {
      SlotTimelineState.returnObject(_slotTimelineStateList.get(i));
    }
    _slotTimelineStateList.clear();
  }
Ejemplo n.º 2
0
 private void removeSlotTimelineState(SlotTimelineState timelineState) {
   _slotTimelineStateList.remove(timelineState);
   SlotTimelineState.returnObject(timelineState);
 }