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