| Games-Risk documentation | view source | Contained in the Games-Risk distribution. |
Games::Risk::GUI::GameOver - window used when game is over
version 3.103040
GR::GUI::GameOver implements a POE session, creating a Tk window to
announce the winner of the game. The window and asession are only used
once, then discarded.
my $id = Games::Risk::GUI::GameOver->spawn(%opts);
Create a window, and return the associated POE session ID. One can pass the following options:
A Tk window that will be the parent of the toplevel window created. This parameter is mandatory.
The player that won the game. This parameter is mandatory.
The newly created POE session does not accept nor fires any events.
Jerome Quelin
This software is Copyright (c) 2008 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
| Games-Risk documentation | view source | Contained in the Games-Risk distribution. |