mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 09:03:29 +00:00
13 lines
335 B
TypeScript
13 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;
|