Components to be used in Hanoi Tower games. Developers can use it to build the application.
Pin, Disks, Game Control and events that notify client object about what happens in the game.
Use it to start the game. It’s possible to provide how many disks the game will have. It will launch a Game Start event.
Start a new game. Use it when a game is already running and needs to restart another one anytime. Provide how many disks the new game will have. Will launch a Game Start event.
Get the disk located in the top of the given pin. Will launch a Disk Removed event.
Drop the disk grabbed in the given pin if the the pin is empty or if the disk in the pin is bigger than the disk being dropped. Will launch a Disk Added event.
Game Over: Launched when the game ends (i.e.: all disks from left pin are moved to right pin).