NumDust() public method

public NumDust ( int i, int j, bool fail, int &num ) : void
i int
j int
fail bool
num int
return void
Esempio n. 1
0
        //in Terraria.WorldGen.KillTile before num14 (num dust iteration) is declared, add
        //  TileLoader.NumDust(i, j, tile.type, ref num13);
        public static void NumDust(int i, int j, int type, bool fail, ref int numDust)
        {
            ModTile modTile = GetTile(type);

            if (modTile != null)
            {
                modTile.NumDust(i, j, fail, ref numDust);
            }
            foreach (GlobalTile globalTile in globalTiles)
            {
                globalTile.NumDust(i, j, type, fail, ref numDust);
            }
        }