public override void Visit(BombLeaf b) { CollisionPair pair = ColPairMan.Find(CollisionPairName.Bomb_Shield); pair.SetCollision(b, this); pair.Notify(); }
public override void Visit(BombLeaf a) { CollisionPair pair = ColPairMan.Find(CollisionPairName.Bomb_Wall); pair.SetCollision(a, this); pair.Notify(); }
public override void Visit(BombLeaf b) { // Bombleaf Hit Shipleaf ->Do Something CollisionPair pair = ColPairMan.Find(CollisionPairName.Bomb_Ship); pair.SetCollision(b, this); pair.Notify(); }
public override void Fall(BombLeaf pBomb) { float targetY = oldPosY - 1.0f * pBomb.GetHeight(); if (pBomb.y < targetY) { pBomb.MultiplyScale(1.0f, -1.0f); oldPosY = targetY; } }
public override void Fall(BombLeaf pBomb) { }
public virtual void Visit(BombLeaf bombCol) { }