Class PooledObject
java.lang.Object
zombie.util.PooledObject
- All Implemented Interfaces:
IPooledObject
- Direct Known Subclasses:
AnimationPlayer
,AnimationTrack
,AnimationVariableWhileAliveFlagCounter
,AnimLayer
,BallisticsController
,BallisticsTarget
,BoneTransform
,ClimbThroughWindowPositioningParams
,Comparators.Params1.CallbackStackItem
,Comparators.Params2.CallbackStackItem
,Consumers.Params1.CallbackStackItem
,Consumers.Params2.CallbackStackItem
,Consumers.Params3.CallbackStackItem
,Consumers.Params4.CallbackStackItem
,Consumers.Params5.CallbackStackItem
,FMODAmbientWallLevelData
,FMODAmbientWallLevelData.FMODAmbientWall
,GameProfiler.ProfileArea
,GameProfileRecording.Span
,Invokers.Params0.Boolean.CallbackStackItem
,Invokers.Params1.CallbackStackItem
,Invokers.Params2.CallbackStackItem
,Invokers.Params3.CallbackStackItem
,Invokers.Params4.CallbackStackItem
,Invokers.Params5.CallbackStackItem
,LiveAnimationTrackEntry
,LiveAnimNode
,LuaEventManager.QueuedEvent
,ModelInstanceDebugRenderData
,ModelSlotDebugRenderData
,ModelTransformSampler
,PooledArrayObject
,PooledFloatArrayObject
,Predicates.Params1.CallbackStackItem
,Predicates.Params2.CallbackStackItem
,Predicates.Params3.CallbackStackItem
,RagdollController
,ReturnValueContainer
,ReturnValueContainerPrimitives.RVBoolean
,ReturnValueContainerPrimitives.RVFloat
,ReturnValueContainerPrimitives.RVInt
,ShaderStackEntry
,Stacks.GenericStack
,StartAnimTrackParameters
,SubLayerSlot
,WorldMapMarker
,WorldMapSymbolsV1.WorldMapBaseSymbolV1
,WorldMapSymbolsV2.WorldMapBaseSymbolV2
The base implementation of IPooledObject
Extend from this class if you wish to take advantage of the Pool's functionality.
If extending from this class is not possible, implement IPooledObject instead.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Pool.PoolReference
final boolean
isFree()
final void
release()
final void
setFree
(boolean isFree) final void
setPool
(Pool.PoolReference poolReference) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.util.IPooledObject
onReleased
-
Constructor Details
-
PooledObject
public PooledObject()
-
-
Method Details
-
getPoolReference
- Specified by:
getPoolReference
in interfaceIPooledObject
-
setPool
- Specified by:
setPool
in interfaceIPooledObject
-
release
public final void release()- Specified by:
release
in interfaceIPooledObject
-
isFree
public final boolean isFree()- Specified by:
isFree
in interfaceIPooledObject
-
setFree
public final void setFree(boolean isFree) - Specified by:
setFree
in interfaceIPooledObject
-