Last active
April 9, 2017 21:36
-
-
Save nicolasdelfino/ade32084d71fcd422373e7834330f278 to your computer and use it in GitHub Desktop.
A basic tile map for Retanx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const Map = function() { | |
this.getTiles = () => { | |
return [ | |
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | |
2, 0, 0, 0, 0, 0, 0, 0, 0, 2, | |
2, 1, 0, 0, 0, 2, 1, 0, 0, 2, | |
0, 0, 0, 0, 0, 0, 1, 0, 0, 2, | |
0, 0, 0, 0, 1, 1, 1, 0, 0, 2, | |
0, 0, 0, 0, 0, 0, 0, 0, 0, 2, | |
2, 2, 0, 2, 2, 2, 0, 0, 0, 2, | |
2, 0, 0, 0, 0, 0, 0, 0, 0, 2, | |
0, 0, 0, 0, 0, 0, 0, 0, 0, 2, | |
0, 0, 0, 0, 0, 0, 0, 0, 0, 2, | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment