mirror of
https://github.com/photonstorm/phaser
synced 2024-12-19 01:24:48 +00:00
14 lines
335 B
TypeScript
14 lines
335 B
TypeScript
|
/**
|
||
|
* A Matrix is simply an array of arrays, where each sub-array (the rows) have the same length:
|
||
|
*
|
||
|
* let matrix2 = [
|
||
|
* [ 1, 1, 1, 1, 1, 1 ],
|
||
|
* [ 2, 0, 0, 0, 0, 4 ],
|
||
|
* [ 2, 0, 1, 2, 0, 4 ],
|
||
|
* [ 2, 0, 3, 4, 0, 4 ],
|
||
|
* [ 2, 0, 0, 0, 0, 4 ],
|
||
|
* [ 3, 3, 3, 3, 3, 3 ]
|
||
|
*];
|
||
|
*/
|
||
|
export default function (matrix: any): boolean;
|