SetSpriteEffects() public méthode

public SetSpriteEffects ( int i, int j, SpriteEffects &spriteEffects ) : void
i int
j int
spriteEffects SpriteEffects
Résultat void
Exemple #1
0
        //in Terraria.Main.DrawTiles after if statement setting effects call
        //  TileLoader.SetSpriteEffects(j, i, type, ref effects);
        public static void SetSpriteEffects(int i, int j, int type, ref SpriteEffects spriteEffects)
        {
            ModTile modTile = GetTile(type);

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