Games::Pandemic::Tk::Main - main pandemic window


Games-Pandemic documentation  | view source Contained in the Games-Pandemic distribution.

Index


NAME

Top

Games::Pandemic::Tk::Main - main pandemic window

VERSION

Top

version 1.111030

METHODS

Top

event: action_done()

Received when current player has finished an action.

event: airlift( $player, $card )

Received when $player wants to play special $card Games::Pandemic::Card::Special::Airlift. Does not require an action.

event: all_cures_discovered()

Received when game is won due to all cures being discovered

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: eradicate($disease)

Received when $disease has been eradicated.

event: forecast( $player, $card )

Received when $player wants to play special $card Games::Pandemic::Card::Special::Forecast. Does not require an action.

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: government_grant( $player, $card )

Received when $player wants to play special $card Games::Pandemic::Card::Special::GovernmentGrant. Does not require an action.

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: no_more_cubes( $disease )

Received when game is over due to a lack of cards to deal.

event: one_quiet_night( $player, $card )

Received when $player wants to play special $card Games::Pandemic::Card::Special::OneQuietNight. Does not require an action.

event: player_move( $player, $from ,$to )

Received when $player has moved between $from and $to cities.

event: resilient_population( $player, $card )

Received when $player wants to play special $card Games::Pandemic::Card::Special::ResilientPopulation. Does not require an action.

event: too_many_cards( $player )

Received when $player has too many cards: she must drop some before the game can continue.

event: too_many_outbreaks()

Received when there are too many outbreaks, and game is over.

event: treatment( $city )

Received when $city has been treated.

ACKNOWLEDGEMENT

Top

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
* success icon by Gnome artists, under a gpl license
* quiet night icon by David Vignoni, under a lgpl license
* government grant icon by Webdesigner Depot, under a free license for commercial use
* resilient population icon by Gnome Project, under a GPL license
* airlift icon by IconsLand, under a free license for non- commercial use
* airlift icon by David Vignoni, under a LGPL license

AUTHOR

Top

Jerome Quelin

COPYRIGHT AND LICENSE

Top


Games-Pandemic documentation  | view source Contained in the Games-Pandemic distribution.