////////////////

        public static bool CanPlaceFramingPlank(int i, int j)
        {
            return(TileLogic.IsSuitableForFramingPlank(i, j, -1, 0) ||
                   TileLogic.IsSuitableForFramingPlank(i, j, 1, 0) ||
                   TileLogic.IsSuitableForFramingPlank(i, j, 0, -1) ||
                   TileLogic.IsSuitableForFramingPlank(i, j, 0, 1));
        }
Example #2
0
        ////////////////

        public static bool CanPlacePlatform(int i, int j)
        {
            if (TileLogic.IsSuitableForPlatform(i, j, -1))
            {
                return(true);
            }
            if (TileLogic.IsSuitableForPlatform(i, j, 1))
            {
                return(true);
            }
            return(false);
        }
        ////////////////

        public static bool CanPlaceTrack(int i, int j)
        {
            return(TileLogic.IsSuitableForTrack(i, j));
        }
Example #4
0
        ////////////////

        public static bool CanPlaceRope(int i, int j)
        {
            return(TileLogic.IsSuitableForRope(i, j));
        }