Packagecom.godpaper.as3.tasks
Classpublic class FillInPiecesBoxTask
InheritanceFillInPiecesBoxTask Inheritance ChessTaskBase Inheritance Task Inheritance flash.events.EventDispatcher

FillInPiecesBoxTask.as class.Actually it with "put on" busniess logic.



Public Properties
 PropertyDefined By
 InheritedcurrentState : String
[read-only]
Task
 Inheritedenabled : Boolean
Task
 Inheritedfactory : Class
ChessTaskBase
 Inheritedlabel : String
Task
Public Methods
 MethodDefined By
  
FillInPiecesBoxTask
 Inherited
start():void
Task
Protected Methods
 MethodDefined By
 Inherited
complete():void
This should be called by a concrete sub-class to indicate that the task has been completed.
Task
 Inherited
fault(message:String = null):void
This should be called by a concrete sub-class to indicate that the task has been halted due to a fault.
Task
  
getRandomX(sponsor:PiecesBox):Number
FillInPiecesBoxTask
  
getRandomY(sponsor:PiecesBox):Number
FillInPiecesBoxTask
  
[override]
FillInPiecesBoxTask
Events
 Event Summary Defined By
 InheritedTask
 InheritedTask
 InheritedTask
 InheritedTask
Constructor Detail
FillInPiecesBoxTask()Constructor
public function FillInPiecesBoxTask()



Method Detail
getRandomX()method
protected function getRandomX(sponsor:PiecesBox):Number

Parameters

sponsor:PiecesBox

Returns
Number
getRandomY()method 
protected function getRandomY(sponsor:PiecesBox):Number

Parameters

sponsor:PiecesBox

Returns
Number
performTask()method 
override protected function performTask():void