NearbyEffects() public method

public NearbyEffects ( int i, int j, bool closer ) : void
i int
j int
closer bool
return void
Beispiel #1
0
        //in Terraria.Lighting.PreRenderPhase add local closer variable and after setting music box
        //  call TileLoader.NearbyEffects(n, num17, type, closer);
        public static void NearbyEffects(int i, int j, int type, bool closer)
        {
            ModTile modTile = GetTile(type);

            if (modTile != null)
            {
                modTile.NearbyEffects(i, j, closer);
            }
            foreach (GlobalTile globalTile in globalTiles)
            {
                globalTile.NearbyEffects(i, j, type, closer);
            }
        }