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

Mostra file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch sp ) : void
GetLight ( ) : Color
InDrawRange ( Rectangle playerScreen ) : bool
MoonlordPiece ( Texture2D pieceTexture, Vector2 textureOrigin, Vector2 centerPos, Vector2 velocity, float rot, float angularVelocity ) : 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

MoonlordPiece() public method

public MoonlordPiece ( Texture2D pieceTexture, Vector2 textureOrigin, Vector2 centerPos, Vector2 velocity, float rot, float angularVelocity ) : Microsoft.Xna.Framework
pieceTexture Texture2D
textureOrigin Vector2
centerPos Vector2
velocity Vector2
rot float
angularVelocity float
return Microsoft.Xna.Framework

Update() public method

public Update ( ) : void
return void