- Thread Author
- #1
So I see how there is a z position for coordinate that theoretically should represent like the floor the tile is on, and the first digit of the y coordinate represents the z coordinate?
So like currently z is always 0:
Coordinate firstFloor = new Coordinate(1000,3000, 0);
Coordinate secondFloor = new Coordinate(1000,4000,0);
(3000 is base level)
Could be
Coordinate firstFloor = new Coordinate(1000,1000, 1);
Coordinate secondFloor = new Coordinate(1000,1000,2);
So we can tell which plane we're on with a coordinate.getZ(); instead of parsing the y.
Lemme know if I'm misunderstanding something. Worth changing in the api, or does it fuck with too many things? It isn't like a big deal but it's something. I can imagine it being useful for people.
So like currently z is always 0:
Coordinate firstFloor = new Coordinate(1000,3000, 0);
Coordinate secondFloor = new Coordinate(1000,4000,0);
(3000 is base level)
Could be
Coordinate firstFloor = new Coordinate(1000,1000, 1);
Coordinate secondFloor = new Coordinate(1000,1000,2);
So we can tell which plane we're on with a coordinate.getZ(); instead of parsing the y.
Lemme know if I'm misunderstanding something. Worth changing in the api, or does it fuck with too many things? It isn't like a big deal but it's something. I can imagine it being useful for people.