Example #1
0
 public Colony
 (
     ResourseHolder resourseHolder, StarShipHolder starShipHolder, BuildingHolder buildingHolder,
     string name, State buildingState, TimeSpan timeToBuildSec, TimeSpan timeToDestroySec, List <ResourseBunch> necessaryResourses
 )
     : base(
         name, buildingState, timeToBuildSec, timeToDestroySec, necessaryResourses
         )
 {
     this.ResourseHolder = resourseHolder;
     this.StarShipHolder = starShipHolder;
     this.BuildingHolder = buildingHolder;
 }
Example #2
0
 public bool Remove(List <StarShip> ts)
 {
     return(StarShipHolder.Remove(ts));
 }
Example #3
0
 public bool Remove(StarShip t)
 {
     return(StarShipHolder.Remove(t));
 }
Example #4
0
 public bool Move(List <StarShip> ts, IGeneralHolder <StarShip> generalHolder)
 {
     return(StarShipHolder.Move(ts, generalHolder));
 }
Example #5
0
 public bool Move(StarShip t, IGeneralHolder <StarShip> generalHolder)
 {
     return(StarShipHolder.Move(t, generalHolder));
 }
Example #6
0
 public bool Add(List <StarShip> ts)
 {
     return(StarShipHolder.Add(ts));
 }
Example #7
0
 public bool Add(StarShip t)
 {
     return(StarShipHolder.Add(t));
 }