Beispiel #1
0
 //removes a hub
 public void removeHub(Hub hub)
 {
     this._Hubs.Remove(hub);
 }
Beispiel #2
0
        //removes a hub
        public void removeHub(Hub hub)
        {
            this.Hubs.Remove(hub);
            this.Airport.removeHub(hub);

            this.CanBuildHub = canBuildHub();
        }
Beispiel #3
0
 //adds a hub to the airport
 public void addHub(Hub hub)
 {
     this._Hubs.Add(hub);
 }
Beispiel #4
0
        //adds a hub
        public void addHub(Hub hub)
        {
            this.Hubs.Add(hub);
            this.Airport.addHub(hub);

            this.CanBuildHub = canBuildHub();
        }