Ejemplo n.º 1
0
 public override void RemoveFightComponent(FightComponent component)
 {
     if (Division.Plains.Count > 1)
     {
         Division.RemoveFightComponent(component);
     }
 }
Ejemplo n.º 2
0
 public override void AddFightComponent(FightComponent component)
 {
     if (Division.Plains.Count < 10)
     {
         Division.AddFightComponent(component);
     }
 }
Ejemplo n.º 3
0
 public FightComponentMemento SaveFightComponent(FightComponent fc)
 {
     return(new FightComponentMemento(fc));
 }
Ejemplo n.º 4
0
 public void SendToWar(FightComponent fightComponent)
 {
     fightComponent.SendToWar();
 }
Ejemplo n.º 5
0
 public abstract void AddFightComponent(FightComponent component);
Ejemplo n.º 6
0
 public abstract void RemoveFightComponent(FightComponent component);
Ejemplo n.º 7
0
 public FightComponentMemento(FightComponent fightComponent)
 {
     FightComponent = (FightComponent)fightComponent.Clone();
 }
Ejemplo n.º 8
0
 public override void RemoveFightComponent(FightComponent component)
 {
     Plains.Remove(component);
 }
Ejemplo n.º 9
0
 public override void AddFightComponent(FightComponent component)
 {
     Plains.Add(component);
 }
Ejemplo n.º 10
0
 public override void RemoveFightComponent(FightComponent component)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 11
0
        //Remove ...

        public override void AddFightComponent(FightComponent builder)
        {
            throw new NotImplementedException();
        }