Exemple #1
0
 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
 }
Exemple #2
0
 public virtual void Update(Vector2 OFFSET, Hero HERO)
 {
     AI(HERO);
 }