Packagecom.whirled.contrib.card.graphics
Classpublic class LastTrickSprite
InheritanceLastTrickSprite Inheritance flash.display.Sprite

Graphics for the cards in the last trick.



Protected Properties
 PropertyDefined by
  _cards : Array
LastTrickSprite
Public Methods
 MethodDefined by
  
Creates a new last trick sprite
LastTrickSprite
  
clear():void
Clear our the current contents of the last trick.
LastTrickSprite
  
setCards(cards:Array):void
Clear out the cards and reset them.
LastTrickSprite
Property detail
_cardsproperty
protected var _cards:Array
Constructor detail
LastTrickSprite()constructor
public function LastTrickSprite()

Creates a new last trick sprite

Method detail
clear()method
public function clear():void

Clear our the current contents of the last trick.

setCards()method 
public function setCards(cards:Array):void

Clear out the cards and reset them.

Parameters
cards:Array — the array of CardSprite instances to become the contents of this sprite