This interface pre-define the board data struct aviable functions.
public function getConnex(board:Array2, len:int):Array
Should keep the providing board as the same size of numberboard.
Partial with flag object to indentify the connex elements.
Parameters
| board:Array2 — the board resource;
|
| |
| len:int — the length of connex;
|
Returns | Array — the calculated connections;
|
Thu Jan 16 2014, 01:11 PM +08:00