Ejemplo n.º 1
0
 public Expedition(ExpeditionGoal goal, ExpeditionLenght lenght, long building_id, Resource resource, float time_remaining, ExpeditionState state, ColonyLocation colony_data)
 {
     Goal           = goal;
     Lenght         = lenght;
     Building_Id    = building_id;
     Resource       = resource;
     Time_Remaining = time_remaining;
     State          = state;
     Colony_Data    = colony_data;
 }
Ejemplo n.º 2
0
 public Expedition(ExpeditionGoal goal, ExpeditionLenght lenght, long building_id, Resource resource)
 {
     Goal           = goal;
     Lenght         = lenght;
     Building_Id    = building_id;
     Resource       = resource;
     Time_Remaining = RNG.Instance.Next(ACTIVE_TIME[goal][lenght][0], ACTIVE_TIME[goal][lenght][1]);
     State          = ExpeditionState.Active;
     Colony_Data    = null;
 }