Esempio n. 1
0
 public override bool IsTypeMatch(GoalModule other)
 {
     if (other is GatherResourceGoalModule g)
     {
         return(g.resourceType == resourceType);
     }
     return(false);
 }
Esempio n. 2
0
 public abstract bool IsTypeMatch(GoalModule other);
Esempio n. 3
0
 public override bool IsTypeMatch(GoalModule other)
 {
     return(other is MaintainFuelGoalModule);
 }
Esempio n. 4
0
 public void AddGoal(GoalModule goal) => goalSlots.AddItem(goal);