We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now class Terrain only have one container, and the position x & y are being set directly.
Terrain
position
x
y
I am afraid of stack overflow because the map is unlimited and the number will not be accurate somehow.
So the solution could be:
setTransform
ElementCore
LayerAgent
moveLayerTo
Hexagon
The text was updated successfully, but these errors were encountered:
refactor class Terrain, add class HexagonRegion #66
fc02f81
finished setTransform api #66
30d2c7f
optimize terrain render and hexagon render recycle feature #40 change dispose api parameter, add option for not dispose texture
finished in 30d2c7f
Sorry, something went wrong.
ced2970
Former-commit-id: fc02f81
67a5a79
optimize terrain render and hexagon render recycle feature #40 change dispose api parameter, add option for not dispose texture Former-commit-id: 30d2c7f
TyrealGray
No branches or pull requests
Right now class
Terrain
only have one container, and theposition
x
&y
are being set directly.I am afraid of stack overflow because the map is unlimited and the number will not be accurate somehow.
So the solution could be:
setTransform
api in classElementCore
, and specialize classTerrain
's apisetTransform
.setTransform
receives vector as param, and classLayerAgent
's apimoveLayerTo
does not setposition
directly anymore.Terrain
's containerposition
does not change anymore, and more container will be insideTerrain
's container dynamically .Hexagon
on the fly when layer is moving to certain coordinatesThe text was updated successfully, but these errors were encountered: