Пример #1
0
 public EntityGComponent(World tools, Entity entity)
     : base(tools, entity)
 {
     this.DrawOrder = 69;
     movingDifference = 0.0F;
     IsBeingPushed = false;
     Model = entity;
     Tasker = new Tasker(this);
     Navigator = new Navigator(this);
 }
Пример #2
0
 public AITaskWander(Navigator navigator, MobGComponent mob)
 {
     this.navigator = navigator;
     this.mob = mob;
     navigator.Completed += Stop;
 }