using 'cell' to describe shapes instead of raw object
This commit is contained in:
@@ -106,7 +106,7 @@ export default class Hex extends Point {
|
||||
return this;
|
||||
},
|
||||
|
||||
getAxial: function() {return {x: this.x, z: this.z};},
|
||||
getAxial: function() {return {q: this.x, r: this.z};},
|
||||
setAxial: function(newAxial) {
|
||||
this.x = newAxial.q;
|
||||
this.z = newAxial.r;
|
||||
|
||||
Reference in New Issue
Block a user