示例#1
0
/**
 * Make a nice void tile ;)
 * @param t the tile to make void
 */
        public static void MakeVoid(this TileIndex t)
        {
            TileMap.SetTileType(t, TileType.MP_VOID);
            TileMap.SetTileHeight(t, 0);
            Map._m[t].m1  = 0;
            Map._m[t].m2  = 0;
            Map._m[t].m3  = 0;
            Map._m[t].m4  = 0;
            Map._m[t].m5  = 0;
            Map._me[t].m6 = 0;
            Map._me[t].m7 = 0;
        }