public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is MapEditorModelVisitor)
     {
         ((MapEditorModelVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is GameworldVisitor)
     {
         ((GameworldVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is MapGoldVisitor)
     {
         ((MapGoldVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is UnitListVisitor)
     {
         ((UnitListVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is ScenarioVisitor)
     {
         ((ScenarioVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is PlayerListVisitor)
     {
         ((PlayerListVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 override public void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is MapWoodVisitor)
     {
         ((MapWoodVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is ActionQueueVisitor)
     {
         ((ActionQueueVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is ActionQueueVisitor)
     {
         ((ActionQueueVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is ScenarioVisitor)
     {
         ((ScenarioVisitor)visitor).Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is SandVisitor)
     {
         SandVisitor sandVisitor = (SandVisitor)visitor;
         sandVisitor.Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is CellVisitor)
     {
         CellVisitor cellVisitor = (CellVisitor)visitor;
         cellVisitor.Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
Пример #13
0
 override public void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is CellVisitor)
     {
         CellVisitor cellVisitor = (CellVisitor)visitor;
         cellVisitor.Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is GrassVisitor)
     {
         GrassVisitor grassVisitor = (GrassVisitor)visitor;
         grassVisitor.Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
Пример #15
0
 override public void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is SandVisitor)
     {
         SandVisitor sandVisitor = (SandVisitor)visitor;
         sandVisitor.Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is MountainVisitor)
     {
         MountainVisitor mountainVisitor = (MountainVisitor)visitor;
         mountainVisitor.Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
Пример #17
0
 override public void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is GrassVisitor)
     {
         GrassVisitor grassVisitor = (GrassVisitor)visitor;
         grassVisitor.Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
 override public void Accept(ModelComponentVisitor visitor)
 {
     if (visitor is MountainVisitor)
     {
         MountainVisitor mountainVisitor = (MountainVisitor)visitor;
         mountainVisitor.Visit(this);
     }
     else
     {
         base.Accept(visitor);
     }
 }
Пример #19
0
 // Visitor Pattern Interfaces
 public virtual void Accept(ModelComponentVisitor visitor)
 {
     visitor.Visit(this);
 }
 public override void Accept(ModelComponentVisitor visitor)
 {
     visitor.Visit(this);
 }
 // Visitor Pattern Interfaces
 public virtual void Accept(ModelComponentVisitor visitor)
 {
     visitor.Visit(this);
 }
 // Visitor Pattern Interfaces
 public abstract void Accept(ModelComponentVisitor visitor);
 public override void Accept(ModelComponentVisitor visitor)
 {
     visitor.Visit(this);
 }
Пример #24
0
 // Visitor Pattern Interfaces
 public abstract void Accept(ModelComponentVisitor visitor);