basic grid implementation with initial setup
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
function Tile(position, value) {
|
||||
this.x = position.x;
|
||||
this.y = position.y;
|
||||
this.value = value || 2;
|
||||
|
||||
this.previousPosition = null;
|
||||
}
|
||||
Reference in New Issue
Block a user