Packagecom.addicted2flash.tween
Classpublic class PropertyPool

Pool for Property objects.



Public Methods
 MethodDefined by
  
PropertyPool(growthRate:int)
Creates a new PropertyPool.
PropertyPool
  
Returns a Property object out of the pool.
PropertyPool
  
release(p:Property):void
Puts a property object back to the pool.
PropertyPool
Constructor detail
PropertyPool()constructor
public function PropertyPool(growthRate:int)

Creates a new PropertyPool.

Parameters
growthRate:int — growth rate of the pool
Method detail
acquire()method
public function acquire():Property

Returns a Property object out of the pool.

Returns
Property — a Property object out of the pool
release()method 
public function release(p:Property):void

Puts a property object back to the pool.

Parameters
p:Property — property object to be released