In my game, a player's turn consists of several moves, triggered by clicking a game element.
But often, the player has only one option, so I thought about letting the player decide via a user preference, if he wants those moves done automatically.
How do I automatically trigger the action which would normally be triggered by the click handler, so that the user sees the action and move is logged and performed just like manually?
But often, the player has only one option, so I thought about letting the player decide via a user preference, if he wants those moves done automatically.
How do I automatically trigger the action which would normally be triggered by the click handler, so that the user sees the action and move is logged and performed just like manually?