Interface Pool.Poolable

All Known Implementing Classes:
Action, AddAction, AddListenerAction, Administration.PlayerAction, AfterAction, AlphaAction, Cell, ChangeListener.ChangeEvent, ColorAction, Damage.Collided, DelayAction, DelegateAction, FGlyph, FloatAction, FocusListener.FocusEvent, GlyphLayout, GlyphLayout.GlyphRun, InputEvent, IntAction, LayoutAction, MassDriver.DriverBulletData, MoveByAction, MoveToAction, OriginAction, ParallelAction, RelativeTemporalAction, RemoveAction, RemoveActorAction, RemoveListenerAction, RepeatAction, RotateByAction, RotateToAction, RunnableAction, ScaleByAction, ScaleToAction, SceneEvent, SceneResizeEvent, SequenceAction, SizeByAction, SizeToAction, TemporalAction, Time.DelayRun, TimeScaleAction, TouchableAction, TranslateByAction, VisibilityEvent, VisibleAction
Enclosing class:
Pool<T>

public static interface Pool.Poolable
Objects implementing this interface will have reset() called when passed to Pool.free(Object).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Resets the object for reuse.
  • Method Details

    • reset

      void reset()
      Resets the object for reuse. Object references should be nulled and fields may be set to default values.