Replies: 1 comment
-
I have come up with this in the mean time, which is better than using a HashMap. Storing the tile info in the userdata of the button
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have used a tile and added a graphic. The graphic contains a Buy Button. When the button is pressed, I need to pickup the tile.getValue(). There are several such tiles each having a button. How do I associate a button with the tile in which it is present, without using a Hashmap to store the button and its corresponding tile. Is there a better way?
Beta Was this translation helpful? Give feedback.
All reactions