public override void Visit(ShipBulletCol b) { //BombGroup hit Bullet --> visit children of this GameObject BombChild = (GameObject)Iterator.GetChild(this); CollisionPair.Collide(b, BombChild); }
public override void Visit(BombCol b) { //BombGroup hit Grid Or Block Collum --> visit children of this GameObject ShiledChildren = (GameObject)Iterator.GetChild(this); CollisionPair.Collide(b, ShiledChildren); }
public override void Visit(AliensCol b) { // Alien Hit Shield Group --> visit children of this GameObject ShieldChildren = (GameObject)Iterator.GetChild(this); CollisionPair.Collide(b, ShieldChildren); }
public override void Visit(ShipBulletCol b) { GameObject BulletChildren = (GameObject)Iterator.GetChild(b); CollisionPair.Collide(BulletChildren, this); }