Пример #1
0
    public void EnablePrepDisplayer(CombatManager combatManager, MissionCharacterManager characterManager,
		MissionUIToggler uiToggler,ModeTextDisplayer modeTextDisplayer)
    {
        this.combatManager = combatManager;
        this.characterManager = characterManager;
        this.modeTextDisplayer = modeTextDisplayer;
        this.uiToggler = uiToggler;
        main = this;
    }
 //public HandManager commonHandManager;
 public void EnableManager(MissionCharacterManager characterManager)
 {
     this.characterManager = characterManager;
     EnableAttachedHandDisplayer();
     main = this;
 }
Пример #3
0
    public void EnableCombatManager(CardsScreen cardsScreen,
	MissionCharacterManager characterManager,
	MissionUIToggler uiToggler,
	PrepHandManager prepDisplayer,
	ModeTextDisplayer modeTextDisplayer,
	CombatCardTargeter combatCardTargeter,
	AICombatCardSelector aiCardSelector)
    {
        this.cardsScreen=cardsScreen;
        this.characterManager = characterManager;
        this.uiToggler = uiToggler;
        this.prepManager = prepDisplayer;
        this.modeTextDisplayer = modeTextDisplayer;
        this.combatCardTargeter = combatCardTargeter;
        this.aiCardSelector = aiCardSelector;
        playerHandManager.EnableManager(characterManager);
    }
    public void EnableCombatCardTargeter(CombatManager cardsScreen, MissionCharacterManager characterManager
		, MissionUIToggler uiToggler, ModeTextDisplayer modeTextDisplayer)
    {
        this.combatManager = cardsScreen;
        this.characterManager = characterManager;
        this.modeTextDisplayer = modeTextDisplayer;
        this.uiToggler = uiToggler;
        main = this;
    }