Class IsolatedHero
public abstract class IsolatedHero
- Inheritance
-
objectIsolatedHero
Fields
Methods
- AttackNearestEnemy(int)
Attack the nearest enemy
- DrinkHealthPotion()
Start drinking a health potion if the hero has one
- Equip(ItemBehaviour)
Equip an item, picking it up if necessary
- FindItemInInventory(string, bool)
Finds an item in the inventory by name
- FollowCursorAndAttack()
Makes your hero follow your mouse cursor and attack nearest enemies in a way
- FollowFlags(Color)
Follow the flags of a certain color
- PickUp(ItemBehaviour)
Pick up an item, moving to it if necessary
- RunAroundInArea()
Makes the hero run around randomly within the current area.
- SayTo(string, Transform)
Say something