C# Class Terraria.GameContent.Liquid.LiquidRenderer

Datei anzeigen Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
Instance LiquidRenderer

Public Methods

Method 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

Method Description
InternalUpdate ( Rectangle drawArea ) : void

Method Details

Draw() public method

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
return void

HasFullWater() public method

public HasFullWater ( int x, int y ) : bool
x int
y int
return bool

InternalDraw() public method

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
return void

LiquidRenderer() public method

public LiquidRenderer ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework

Update() public method

public Update ( Rectangle drawArea ) : void
drawArea Microsoft.Xna.Framework.Rectangle
return void

Property Details

Instance public_oe static_oe property

public static LiquidRenderer,Terraria.GameContent.Liquid Instance
return LiquidRenderer