timondavis / cm-maze

1 stars 0 forks source link

Create helpers on MazeCoordinate class so programmers can work with arrays (instead of MazeCoordinate instances) more easily #22

Open timondavis opened 6 years ago

timondavis commented 4 years ago

Latest thinking is that it should use a 2d vector. This belongs to phaser, though, upon which the maze library doesn't depend. See what's out there - is there a convenient model for 2x tuples representing cartesian coordinates? Perhaps its possible to make a class which will gel nicely with Vector2D?