Jerome Quelin > Games-Pandemic > Games::Pandemic::Tk::Main

Download:
Games-Pandemic-1.120510.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.120510   Source  

NAME ^

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

VERSION ^

version 1.120510

METHODS ^

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 ^

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:

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 2, June 1991
syntax highlighting: