Minion myMinion = new Minion("My Minion", 3, 4, 5);
Debug.Log(myMinion.Name); // prints "My Minion" Debug.Log(myMinion.Attack); // prints 3 Debug.Log(myMinion.Health); // prints 4 Debug.Log(myMinion.Cost); // prints 5
myMinion.Attack = 5; myMinion.Health = 6;
Minion enemyMinion = new Minion("Enemy Minion", 4, 5, 4); if (myMinion.Attack >= enemyMinion.Health) { Debug.Log("My minion can take down the enemy minion!"); }Overall, the HREngine.Bots package library provides useful tools and modules for creating and managing Hearthstone bots, with the Minion module specifically providing functionality related to minion game objects.