Exemplo n.º 1
0
 public override void LessonOnGUI()
 {
     if (!this.mineCells.NullOrEmpty <IntVec3>())
     {
         TutorUtility.DrawLabelOnGUI(Gen.AveragePosition(this.mineCells), this.def.onMapInstruction);
     }
     base.LessonOnGUI();
 }
Exemplo n.º 2
0
 public override void LessonOnGUI()
 {
     if (!mineCells.NullOrEmpty())
     {
         TutorUtility.DrawLabelOnGUI(Gen.AveragePosition(mineCells), def.onMapInstruction);
     }
     base.LessonOnGUI();
 }
 public override void LessonUpdate()
 {
     GenDraw.DrawFieldEdges(sandbagCells.Where((IntVec3 c) => !TutorUtility.BuildingOrBlueprintOrFrameCenterExists(c, base.Map, ThingDefOf.Sandbags)).ToList());
     GenDraw.DrawArrowPointingAt(Gen.AveragePosition(sandbagCells));
     if (ProgressPercent > 0.9999f)
     {
         Find.ActiveLesson.Deactivate();
     }
 }
		public override void LessonUpdate()
		{
			List<IntVec3> cells = (from c in this.sandbagCells
			where !TutorUtility.BuildingOrBlueprintOrFrameCenterExists(c, base.Map, ThingDefOf.Sandbags)
			select c).ToList();
			GenDraw.DrawFieldEdges(cells);
			GenDraw.DrawArrowPointingAt(Gen.AveragePosition(this.sandbagCells), false);
			if (this.ProgressPercent > 0.99989998340606689)
			{
				Find.ActiveLesson.Deactivate();
			}
		}
 public override void LessonUpdate()
 {
     GenDraw.DrawArrowPointingAt(Gen.AveragePosition(this.GrowZone.cells), false);
 }
 public override void LessonOnGUI()
 {
     TutorUtility.DrawLabelOnGUI(Gen.AveragePosition(this.GrowZone.cells), this.def.onMapInstruction);
     base.LessonOnGUI();
 }
 public override void LessonOnGUI()
 {
     TutorUtility.DrawLabelOnGUI(Gen.AveragePosition(sandbagCells), def.onMapInstruction);
     base.LessonOnGUI();
 }
Exemplo n.º 8
0
 public override void LessonUpdate()
 {
     GenDraw.DrawArrowPointingAt(Gen.AveragePosition(mineCells));
 }