Beispiel #1
0
        private void bh_Outside(Sprite sp)
        {
            m_wallSprites.Remove(sp);
            sp.Dispose();

            if (sp.Name == "Ceiling")
            {
                for (int i = 0; i < m_nTileWidth; i++)
                    m_locYPairs.RemoveAt(0);

                CreateNewTiles((int)((Sprite)m_wallSprites[m_wallSprites.Count-1]).LocX + this.m_nTileWidth);
            }
        }
Beispiel #2
0
 private void bh_Outside(Sprite sp)
 {
     m_obstacles.Remove(sp);
     sp.Dispose();
     CreateNew(-1);
 }