public static void steward_of_gondor_action(EventArgs args) { GameArgs game_args = (GameArgs)args; AttachmentCard the_card = (AttachmentCard)game_args.relevant_card; Action the_action = () => { foreach (LOTRPlayer player in game.get_players()) { foreach (LOTRHero character in player.get_heroes()) { if (character.has_attachment(the_card)) { the_card.exhaust(); character.add_resource_token(2); break; } } } }; game.execute_action(the_action); }