public virtual void AI(Hero HERO) { pos += Globals.RadialMovement(HERO.pos, pos, speed); rotation = Globals.RotateTowards(pos, HERO.pos); // first arg is position of the mob }
public virtual void Update(Vector2 OFFSET, Hero HERO) { AI(HERO); }