Example #1
0
        private bool ValidPosition(Block b)
        {
            // test against locked nibbits
            foreach (Nibbit n in LockedNibbits)
            {
                if (b.Contains(n))
                    return false;
            }

            // Test against edges
            return b.InBounds();
        }