NAME
Games::Pandemic::Tk::Main - main window for Games::Pandemic
VERSION
version 0.6.0
ACKNOWLEDGEMENT
Thanks to the various artists that provide their work for free, we need them just as much we need coders.
I used the following icons:
research station symbol by Klukeart (Miriam Moshinsky), under a free license for non-commercial use
research station icon by IconsLand, under a free license for non- commercial use
discover icon by Klukeart (Miriam Moshinsky), under a free license for non commercial use
syringue icon by Everaldo Coelho, under an lgpl license
share icon by Everaldo Coelho , under a gpl license
pass icon by Zeus Box Studio, under a cc-by license
trash icon by Jojo Mendoza, under a cc-nd-nc license
warning icon by Gnome artists, under a gpl license
METHODS
event: action_done()
Received when current player has finished an action.
event: build_station($city)
Received when $city
gained a research station.
event: cure($disease)
Received when a cure has been found for $disease
.
event: drop_card($player, $card)
Received when $player
drops a $card
.
event: end_of_actions()
Received when current player has finished her actions.
event: end_of_cards()
Received when current player has received her cards for this turn.
event: end_of_propagation()
Received when propagation is done
event: epidemic($city)
Received when a new epidemic strikes $city
.
event: gain_card($player, $card)
Received when $player
got a new $card
.
event: game_over()
Received when game is over: user cannot advance the game any more.
event: infection($city, $outbreak)
Received when $city
gets infected. $outbreak
is true if this infection lead to a disease outbreak.
event: new_game()
Received when the controller started a new game. Display the new map (incl. cities), action & statusbar.
event: new_player( $player )
Received when the controller has just created a new player.
event: next_action
Received when player needs to do its next action.
event: next_player( $player )
Received when $player
starts its turn.
event: no_more_cards()
Received when game is over due to a lack of cards to deal.
event: player_move( $player, $from ,$to )
Received when $player
has moved between $from
and $to
cities.
event: too_many_cards( $player )
Received when $player
has too many cards: she must drop some before the game can continue.
event: treatment( $city )
Received when $city
has been treated.
AUTHOR
Jerome Quelin
COPYRIGHT AND LICENSE
This software is Copyright (c) 2009 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007