public static void mountains_of_mirkwood(EventArgs args) { GameArgs game_args = (GameArgs)args; Action the_action = () => { game.add_new_encounter_card_to_staging(); }; game.execute_action(the_action); game_args.what_to_do_after_event_or_if_no_response(); }
public static void shadow_card_test(EventArgs args) { GameArgs game_args = (GameArgs)args; Debug.Log("SOMG SHADOW CARD FOR " + game_args.relevant_card.get_name()); if (game_args.what_to_do_after_event_or_if_no_response != null) { game_args.what_to_do_after_event_or_if_no_response(); } }
public static void necromancers_pass(EventArgs args) { GameArgs game_args = (GameArgs)args; Action the_action = () => { LOTRPlayer the_player = game_args.relevant_player; Random rnd = new Random(); the_player.discard_card_at_index(rnd.Next(the_player.get_cards_in_hand().Count)); the_player.discard_card_at_index(rnd.Next(the_player.get_cards_in_hand().Count)); }; game.execute_action(the_action); game_args.what_to_do_after_event_or_if_no_response(); }