예제 #1
0
파일: Game.cs 프로젝트: apetzak/Tetris
        public int GetSpacesBelow()
        {
            if (GameOver() || Shape.IsFloored())
            {
                return(0);
            }
            int spaces = GetSpaceBetweenBlocks();

            if (spaces != 19)
            {
                return(spaces);
            }
            else
            {
                return(Shape.GetBottomHeight());
            }
        }