C# Class Terraria.WaterfallManager

Show file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
waterfallTexture Texture2D[]

Public Methods

Method Description
CheckForWaterfall ( int i, int j ) : bool
Draw ( SpriteBatch spriteBatch ) : void
FindWaterfalls ( bool forced = false ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager manager ) : void
UpdateFrame ( ) : void
WaterfallManager ( ) : Microsoft.Xna.Framework

Private Methods

Method Description
DrawWaterfall ( SpriteBatch spriteBatch, int Style, float Alpha = 1f ) : void

Method Details

CheckForWaterfall() public method

public CheckForWaterfall ( int i, int j ) : bool
i int
j int
return bool

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

FindWaterfalls() public method

public FindWaterfalls ( bool forced = false ) : void
forced bool
return void

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager manager ) : void
manager Microsoft.Xna.Framework.Content.ContentManager
return void

UpdateFrame() public method

public UpdateFrame ( ) : void
return void

WaterfallManager() public method

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

Property Details

waterfallTexture public property

public Texture2D[] waterfallTexture
return Texture2D[]