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

Package | com.godpaper.tic_tac_toe.model.vo
Class | public class ChessVO_TicTacToe
Inheritance | ChessVO_TicTacToe AbstractChessVO BitBoard BitVector Object

ChessVO_TicTacToe.as class.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | bitCount : int [read-only] The total number of bits. | BitVector
|  | captures : BitBoard | AbstractChessVO
|  | cellCount : int [read-only] The total number of cells. | BitVector
|  | celled : int [read-only] | BitBoard
|  | column : int [read-only] | BitBoard
|  | defends : BitBoard | AbstractChessVO
|  | isEmpty : Boolean [read-only] whether or not bitboard is empty; | BitBoard
|  | moves : BitBoard | AbstractChessVO
|  | occupies : BitBoard | AbstractChessVO
|  | row : int [read-only] | BitBoard

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | blocker : BitBoard | AbstractChessVO
|  | chessGasketModel : ChessGasketsModel | AbstractChessVO
|  | chessPiecesModel : ChessPiecesModel | AbstractChessVO
|  | flag : int | AbstractChessVO
|  | identifier : String | AbstractChessVO

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ChessVO_TicTacToe(width:int, height:int, rowIndex:int, colIndex:int, flag:uint = 0, identifier:String) | ChessVO_TicTacToe
|  | and(value:BitBoard):BitBoard | BitBoard
|  | clear():void [override] Resets all bits to 0; | BitBoard
|  | clone():BitBoard | BitBoard
|  | dump():String Dump out a string representing the current object. | BitBoard
|  | getBit(index:int):int Gets a bit from a given index. | BitVector
|  | getBitt(row:int, column:int):int Gets a bit from a given row and column. | BitBoard
|  | getCols(colIndex:int):Array | BitBoard
|  | getEast(rowIndex:int, colIndex:int):BitBoard | AbstractChessVO
|  | getNorth(rowIndex:int, colIndex:int):BitBoard | AbstractChessVO
|  | getRows(rowIndex:int):Array | BitBoard
|  | getSouth(rowIndex:int, colIndex:int):BitBoard | AbstractChessVO
|  | getWest(rowIndex:int, colIndex:int):BitBoard | AbstractChessVO
|  | initialization(rowIndex:int, colIndex:int, flag:uint = 0, identifier:String):void [override] | ChessVO_TicTacToe
|  | not():BitBoard | BitBoard
|  | or(value:BitBoard):BitBoard | BitBoard
|  | resize(size:int):void Resizes the bit-vector to an appropriate number of bits. | BitVector
|  | reverse():BitBoard | BitBoard
|  | rotate45():BitBoard notice:this function is suitable for which board column equals to row. | BitBoard
|  | rotate90():BitBoard | BitBoard
|  | setAll():void [override] Sets each bit to 1. | BitBoard
|  | setBit(index:int, b:Boolean):void Sets a bit at a given index. | BitVector
|  | setBitt(row:int, column:int, b:Boolean):void Sets a bit at a given row and column. | BitBoard
|  | toString():String [override] Prints out a string representing the current object. | BitBoard
|  | xor(value:BitBoard):BitBoard | BitBoard

Constructor Detail

ChessVO_TicTacToe | () | Constructor

`public function ChessVO_TicTacToe(width:int, height:int, rowIndex:int, colIndex:int, flag:uint = 0, identifier:String)`

Parameters

| `width:int`
| `height:int`
| `rowIndex:int`
| `colIndex:int`
| `flag:uint` (default = `0`)``
| `identifier:String`

Method Detail

initialization | () | method

`override public function initialization(rowIndex:int, colIndex:int, flag:uint = 0, identifier:String):void`

Parameters

| `rowIndex:int`
| `colIndex:int`
| `flag:uint` (default = `0`)``
| `identifier:String`

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