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