Exemple #1
0
 protected virtual void DoWork(Human human)
 {
 }
Exemple #2
0
 protected override void DoWork(Human human)
 {
     World.SoundTheAlarm();
 }
Exemple #3
0
 public AITask(World world, Human human)
 {
     this.world = world;
     this.human = human;
 }
Exemple #4
0
 public void WorkHere(Human human)
 {
     if (human != null && human.Alive)
     {
         human.WorkTime = workTime;
         Pathnode.WorkRequired = false;
         timer = workTime;
         needsWork = false;
         DoWork(human);
     }
 }
Exemple #5
0
 public WorkTask(World world, Human human)
     : base(world, human)
 {
 }
Exemple #6
0
 public GoToNearestPathNodeTask(World world, Human human)
     : base(world, human)
 {
 }
Exemple #7
0
 public EscapeTask(World world, Human human)
     : base(world, human)
 {
 }
Exemple #8
0
 public ActivateAlarmTask(World world, Human human)
     : base(world, human)
 {
 }
Exemple #9
0
 internal void SaveHuman(Human human)
 {
     human.DeleteMe = true;
     score -= 200;
 }