C# Class Terraria.GameContent.Events.MoonlordDeathDrama.MoonlordExplosion

Exibir arquivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch sp ) : void
GetLight ( ) : Color
InDrawRange ( Rectangle playerScreen ) : bool
MoonlordExplosion ( Texture2D pieceTexture, Vector2 centerPos, int frameSpeed ) : Microsoft.Xna.Framework
Update ( ) : void

Method Details

Draw() public method

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

GetLight() public method

public GetLight ( ) : Color
return Color

InDrawRange() public method

public InDrawRange ( Rectangle playerScreen ) : bool
playerScreen Microsoft.Xna.Framework.Rectangle
return bool

MoonlordExplosion() public method

public MoonlordExplosion ( Texture2D pieceTexture, Vector2 centerPos, int frameSpeed ) : Microsoft.Xna.Framework
pieceTexture Texture2D
centerPos Vector2
frameSpeed int
return Microsoft.Xna.Framework

Update() public method

public Update ( ) : void
return void