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