예제 #1
0
        public static bool CheckValidSP(DiscoveredSavePoint sp)
        {
            if (Main.tile[sp.tileX, sp.tileY].type == ModContent.TileType <Tiles.savepoint>())
            {
                return(true);
            }

            return(false);
        }
예제 #2
0
        public static bool Equals(DiscoveredSavePoint sp1, DiscoveredSavePoint sp2)
        {
            if (sp1.tileX != sp2.tileX || sp1.tileY != sp2.tileY)
            {
                return(false);
            }

            return(true);
        }