playn.flash
Class FlashSurfaceLayer

java.lang.Object
  extended by playn.core.AbstractLayer
      extended by playn.flash.FlashLayer
          extended by playn.flash.FlashSurfaceLayer
All Implemented Interfaces:
Layer, Layer.HasSize, SurfaceLayer

public class FlashSurfaceLayer
extends FlashLayer
implements SurfaceLayer


Nested Class Summary
 
Nested classes/interfaces inherited from class playn.core.AbstractLayer
AbstractLayer.Flag, AbstractLayer.Interaction<L,E>, AbstractLayer.Interactor<L>
 
Nested classes/interfaces inherited from interface playn.core.Layer
Layer.HasSize, Layer.HitTester, Layer.Util
 
Field Summary
 
Fields inherited from class playn.flash.FlashLayer
displayObject
 
Fields inherited from class playn.core.AbstractLayer
alpha, depth, flags, hitTester, originX, originY, rootInteractor
 
Constructor Summary
FlashSurfaceLayer(float width, float height)
           
 
Method Summary
 float height()
           
 float scaledHeight()
           
 float scaledWidth()
           
 Surface surface()
           
 float width()
           
 
Methods inherited from class playn.flash.FlashLayer
setAlpha, setVisible, update, updateChildren
 
Methods inherited from class playn.core.AbstractLayer
addListener, addListener, addListener, alpha, depth, destroy, destroyed, hitTest, hitTestDefault, interactive, isSet, onAdd, onRemove, originX, originY, parent, rotation, scaleX, scaleY, setDepth, setFlag, setHitTester, setInteractive, setOrigin, setParent, setRotation, setScale, setScale, setScaleX, setScaleY, setShader, setTranslation, setTx, setTy, transform, tx, ty, visible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface playn.core.Layer
addListener, addListener, addListener, alpha, depth, destroy, destroyed, hitTest, hitTestDefault, interactive, originX, originY, parent, rotation, scaleX, scaleY, setAlpha, setDepth, setHitTester, setInteractive, setOrigin, setRotation, setScale, setScale, setScaleX, setScaleY, setShader, setTranslation, setTx, setTy, setVisible, transform, tx, ty, visible
 

Constructor Detail

FlashSurfaceLayer

public FlashSurfaceLayer(float width,
                         float height)
Parameters:
width -
height -
Method Detail

surface

public Surface surface()
Specified by:
surface in interface SurfaceLayer

width

public float width()
Specified by:
width in interface Layer.HasSize
Overrides:
width in class AbstractLayer

height

public float height()
Specified by:
height in interface Layer.HasSize
Overrides:
height in class AbstractLayer

scaledWidth

public float scaledWidth()
Specified by:
scaledWidth in interface Layer.HasSize

scaledHeight

public float scaledHeight()
Specified by:
scaledHeight in interface Layer.HasSize


Copyright © 2012. All Rights Reserved.