UNPKG

matrix-map

Version:

A class object for to aid in the creation of 2D grid games.

9 lines (8 loc) 253 B
const getAsItterator = function() { // console.log('GAI', this.map.keys()); let itterator = Array.from(this.map.keys()) // let itterator = this.map.keys() this.keysAsArray = itterator; return itterator } export default getAsItterator