コード例 #1
0
ファイル: AlienGroup.cs プロジェクト: Carsonq/SpaceInvaders
 public override void Accept(ColVisitor other)
 {
     // Important: at this point we have an BirdGroup
     // Call the appropriate collision reaction
     other.VisitGroup(this);
 }
コード例 #2
0
 public override void Accept(ColVisitor other)
 {
     //what is the reaction of the "other" object
     // with the Alien Group
     other.VisitGroup(this);
 }