GODPAPER | All Packages | All Classes | Index | Frames No Frames |
DefaultPiecesConstants

Package | com.godpaper.as3.consts
Class | public class DefaultPiecesConstants
Inheritance | DefaultPiecesConstants Enum Object

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | convertedImportant : Array2 | DefaultPiecesConstants
|  | important : Array2 | DefaultPiecesConstants
|  | Index : int [read-only] | Enum
|  | label : String | DefaultPiecesConstants
|  | Name : String [read-only] | Enum
|  | strength : int | DefaultPiecesConstants
|  | value : int | DefaultPiecesConstants

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | DefaultPiecesConstants(label:String, value:int, strength:int = -1, important:Array2 = null, convertedImportant:Array2 = null) | DefaultPiecesConstants
|  | GetConstants(i_type:Class):Array [static] | Enum
|  | ParseConstant(i_type:Class, i_constantName:String, i_caseSensitive:Boolean = false):Enum [static] | Enum
|  | toString():String | Enum

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | initEnum(i_type:Class):void [static] | Enum

Public Constants

| Constant | Defined 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

convertedImportant | property

`public var convertedImportant:Array2`

important | property |

`public var important:Array2`

label | property |

`public var label:String`

strength | property |

`public var strength:int`

value | property |

`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

BLUE | Constant

`public static const BLUE:DefaultPiecesConstants`

BLUE_BISHOP | Constant |

`public static const BLUE_BISHOP:DefaultPiecesConstants`

BLUE_CANNON | Constant |

`public static const BLUE_CANNON:DefaultPiecesConstants`

BLUE_KNIGHT | Constant |

`public static const BLUE_KNIGHT:DefaultPiecesConstants`

BLUE_MARSHAL | Constant |

`public static const BLUE_MARSHAL:DefaultPiecesConstants`

BLUE_OFFICAL | Constant |

`public static const BLUE_OFFICAL:DefaultPiecesConstants`

BLUE_PAWN | Constant |

`public static const BLUE_PAWN:DefaultPiecesConstants`

BLUE_ROOK | Constant |

`public static const BLUE_ROOK:DefaultPiecesConstants`

RED | Constant |

`public static const RED:DefaultPiecesConstants`

RED_BISHOP | Constant |

`public static const RED_BISHOP:DefaultPiecesConstants`

RED_CANNON | Constant |

`public static const RED_CANNON:DefaultPiecesConstants`

RED_KNIGHT | Constant |

`public static const RED_KNIGHT:DefaultPiecesConstants`

RED_MARSHAL | Constant |

`public static const RED_MARSHAL:DefaultPiecesConstants`

RED_OFFICAL | Constant |

`public static const RED_OFFICAL:DefaultPiecesConstants`

RED_PAWN | Constant |

`public static const RED_PAWN:DefaultPiecesConstants`

RED_ROOK | Constant |

`public static const RED_ROOK:DefaultPiecesConstants`

Thu Jan 16 2014, 01:11 PM +08:00