Esempio n. 1
0
    void OnEnable()
    {
        TurnSystem.EndDefenseAction += MarkOff;
        TurnSystem.RevealAction     += Reveal;

        effectsInterface = GetComponent <IEffects>();
        heavyInterface   = GetComponent <IHeavy>();
    }
Esempio n. 2
0
    void OnEnable()
    {
        TurnSystem.EndTurnAction    += CountDown;
        TurnSystem.EndDefenseAction += MarkOff;

        //for heavy
        TurnSystem.EndTurnAction += MarkOff;

        TurnSystem.EndDefenseAction += Reveal;

        TurnSystem.RevealAction += Reveal;

        heavyInterface = GetComponent <IHeavy>();
    }
Esempio n. 3
0
    void Start()
    {
        heavyInterface = GetComponent <IHeavy>();

        nombre = transform.gameObject.name;
        if (nombre == "BioRight")
        {
            left = true;
        }

        if (nombre == "BioLeft")
        {
            right = true;
        }
    }
Esempio n. 4
0
 public HeavyProxy(IHeavy heavy)
 => _heavy = heavy;