示例#1
0
文件: Game.cs 项目: jbfp/SavannahGame
 public void Accept(ISavannahVisitor visitor)
 {
     foreach (var grass in this.savannah.Grasses)
     {
         grass.Accept(visitor);
     }
 }
示例#2
0
文件: Game.cs 项目: jbfp/SavannahGame
 public void Accept(ISavannahVisitor visitor)
 {
     foreach (var grass in this.savannah.Grasses)
     {
         grass.Accept(visitor);
     }
 }
示例#3
0
 public void Accept(ISavannahVisitor visitor)
 {
     visitor.Visit(this);
 }
示例#4
0
 public void Accept(ISavannahVisitor visitor)
 {
     visitor.Visit(this);
 }