public void DoesntStack()
        {
            State.AddEffects("Mushroom");
            State.AddItems("Mushroom");
            var subject = new PowerupSelector();

            var move = subject.GetNextMove(State);

            Check.That(move).IsNull();
        }
        public void GetsFirstPowerUpItem()
        {
            State.AddItems("Carbuncle", "Wedge");

            var subject = new PowerupSelector();

            var move = subject.GetNextMove(State);


            Check.That(move.Item.Name == "Wedge");
            Check.That(move.Target).IsNull();
        }
Exemple #3
0
 // Start is called before the first frame update
 void Start()
 {
     _BtnInteraction = GameObject.FindGameObjectWithTag("BtnInteraction").GetComponent <PowerupSelector>();
 }