void apply_card_status( byte number, PAE_TYPE pae_type, byte position, CARD_STATUS status) { CCard card = find_card(number, pae_type, position); card.set_card_status(status); }
public void move_kookjin_to_pee() { CCard card = pop_specific_card_from_floor(PAE_TYPE.YEOL, CARD_STATUS.KOOKJIN); if (card == null) { // 국진이 없다!?? UnityEngine.Debug.LogError("Cannot find kookjin!! player : " + this.player_index); return; } card.change_pae_type(PAE_TYPE.PEE); card.set_card_status(CARD_STATUS.TWO_PEE); add_card_to_floor(card); calculate_score(); }