Packagecom.godpaper.as3.consts
Classpublic class DefaultPiecesConstants
InheritanceDefaultPiecesConstants Inheritance Enum Inheritance Object



Public Properties
 PropertyDefined By
  convertedImportant : Array2
DefaultPiecesConstants
  important : Array2
DefaultPiecesConstants
 InheritedIndex : int
[read-only]
Enum
  label : String
DefaultPiecesConstants
 InheritedName : String
[read-only]
Enum
  strength : int
DefaultPiecesConstants
  value : int
DefaultPiecesConstants
Public Methods
 MethodDefined By
  
DefaultPiecesConstants(label:String, value:int, strength:int = -1, important:Array2 = null, convertedImportant:Array2 = null)
DefaultPiecesConstants
 Inherited
GetConstants(i_type:Class):Array
[static]
Enum
 Inherited
ParseConstant(i_type:Class, i_constantName:String, i_caseSensitive:Boolean = false):Enum
[static]
Enum
 Inherited
toString():String
Enum
Protected Methods
 MethodDefined By
 Inherited
initEnum(i_type:Class):void
[static]
Enum
Public Constants
 ConstantDefined By
  BLUE : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  BLUE_BISHOP : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  BLUE_CANNON : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  BLUE_KNIGHT : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  BLUE_MARSHAL : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  BLUE_OFFICAL : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  BLUE_PAWN : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  BLUE_ROOK : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  RED : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  RED_BISHOP : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  RED_CANNON : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  RED_KNIGHT : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  RED_MARSHAL : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  RED_OFFICAL : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  RED_PAWN : DefaultPiecesConstants
[static]
DefaultPiecesConstants
  RED_ROOK : DefaultPiecesConstants
[static]
DefaultPiecesConstants
Property Detail
convertedImportantproperty
public var convertedImportant:Array2

importantproperty 
public var important:Array2

labelproperty 
public var label:String

strengthproperty 
public var strength:int

valueproperty 
public var value:int

Constructor Detail
DefaultPiecesConstants()Constructor
public function DefaultPiecesConstants(label:String, value:int, strength:int = -1, important:Array2 = null, convertedImportant:Array2 = null)



Parameters
label:String
 
value:int
 
strength:int (default = -1)
 
important:Array2 (default = null)
 
convertedImportant:Array2 (default = null)
Constant Detail
BLUEConstant
public static const BLUE:DefaultPiecesConstants

BLUE_BISHOPConstant 
public static const BLUE_BISHOP:DefaultPiecesConstants

BLUE_CANNONConstant 
public static const BLUE_CANNON:DefaultPiecesConstants

BLUE_KNIGHTConstant 
public static const BLUE_KNIGHT:DefaultPiecesConstants

BLUE_MARSHALConstant 
public static const BLUE_MARSHAL:DefaultPiecesConstants

BLUE_OFFICALConstant 
public static const BLUE_OFFICAL:DefaultPiecesConstants

BLUE_PAWNConstant 
public static const BLUE_PAWN:DefaultPiecesConstants

BLUE_ROOKConstant 
public static const BLUE_ROOK:DefaultPiecesConstants

REDConstant 
public static const RED:DefaultPiecesConstants

RED_BISHOPConstant 
public static const RED_BISHOP:DefaultPiecesConstants

RED_CANNONConstant 
public static const RED_CANNON:DefaultPiecesConstants

RED_KNIGHTConstant 
public static const RED_KNIGHT:DefaultPiecesConstants

RED_MARSHALConstant 
public static const RED_MARSHAL:DefaultPiecesConstants

RED_OFFICALConstant 
public static const RED_OFFICAL:DefaultPiecesConstants

RED_PAWNConstant 
public static const RED_PAWN:DefaultPiecesConstants

RED_ROOKConstant 
public static const RED_ROOK:DefaultPiecesConstants