Packagecom.whirled.contrib.platformer.display
Classpublic class Layer
InheritanceLayer Inheritance flash.display.Sprite
SubclassesBitmapParallaxBackground, DynamicSpriteLayer, ParallaxBackground, ParallaxBitmap, ParallaxLayer, ParticleLayer, PieceSpriteLayer



Public Properties
 PropertyDefined by
  displayCount : int
[read-only]
Layer
Protected Properties
 PropertyDefined by
  _snapToPixel : Boolean = true
Set to true and all coordinates will be floored.
Layer
Public Methods
 MethodDefined by
  
shutdown():void
Layer
  
update(nX:Number, nY:Number, scale:Number = 1):void
Layer
Property detail
displayCountproperty
displayCount:int  [read-only]Implementation
    public function get displayCount():int
_snapToPixelproperty 
protected var _snapToPixel:Boolean = true

Set to true and all coordinates will be floored.

Method detail
shutdown()method
public function shutdown():void
update()method 
public function update(nX:Number, nY:Number, scale:Number = 1):voidParameters
nX:Number
 
nY:Number
 
scale:Number (default = 1)