C# Class Terraria.GameContent.Liquid.LiquidRenderer

Afficher le fichier Open project: EmuDevs/EDTerraria Class Usage Examples

Méthodes publiques

Свойство Type Description
Instance LiquidRenderer

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch, Vector2 drawOffset, int waterStyle, float alpha, bool isBackgroundDraw ) : void
HasFullWater ( int x, int y ) : bool
InternalDraw ( SpriteBatch spriteBatch, Vector2 drawOffset, int waterStyle, float globalAlpha, bool isBackgroundDraw ) : void
LiquidRenderer ( ) : Microsoft.Xna.Framework
Update ( Rectangle drawArea ) : void

Private Methods

Méthode Description
InternalUpdate ( Rectangle drawArea ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch, Vector2 drawOffset, int waterStyle, float alpha, bool isBackgroundDraw ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
drawOffset Vector2
waterStyle int
alpha float
isBackgroundDraw bool
Résultat void

HasFullWater() public méthode

public HasFullWater ( int x, int y ) : bool
x int
y int
Résultat bool

InternalDraw() public méthode

public InternalDraw ( SpriteBatch spriteBatch, Vector2 drawOffset, int waterStyle, float globalAlpha, bool isBackgroundDraw ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
drawOffset Vector2
waterStyle int
globalAlpha float
isBackgroundDraw bool
Résultat void

LiquidRenderer() public méthode

public LiquidRenderer ( ) : Microsoft.Xna.Framework
Résultat Microsoft.Xna.Framework

Update() public méthode

public Update ( Rectangle drawArea ) : void
drawArea Microsoft.Xna.Framework.Rectangle
Résultat void

Property Details

Instance public_oe static_oe property

public static LiquidRenderer,Terraria.GameContent.Liquid Instance
Résultat LiquidRenderer