C# Class ExampleMod.Tiles.VoidSky

Inheritance: Terraria.Graphics.Effects.CustomSky
ファイルを表示 Open project: bluemagic123/tModLoader

Public Methods

Method Description
Activate ( Vector2 position ) : void
Deactivate ( ) : void
Draw ( SpriteBatch spriteBatch, float minDepth, float maxDepth ) : void
GetCloudAlpha ( ) : float
IsActive ( ) : bool
OnLoad ( ) : void
OnTileColor ( Color inColor ) : Color
Reset ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
GetIntensity ( ) : float

Method Details

Activate() public method

public Activate ( Vector2 position ) : void
position Vector2
return void

Deactivate() public method

public Deactivate ( ) : void
return void

Draw() public method

public Draw ( SpriteBatch spriteBatch, float minDepth, float maxDepth ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
minDepth float
maxDepth float
return void

GetCloudAlpha() public method

public GetCloudAlpha ( ) : float
return float

IsActive() public method

public IsActive ( ) : bool
return bool

OnLoad() public method

public OnLoad ( ) : void
return void

OnTileColor() public method

public OnTileColor ( Color inColor ) : Color
inColor Color
return Color

Reset() public method

public Reset ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void