C# Class Terraria.Gore

Show file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
active bool
alpha int
behindTiles bool
frame byte
frameCounter byte
goreTime int
light float
numFrames byte
position Vector2
rotation float
scale float
sticky bool
timeLeft int
type int
velocity Vector2

Public Methods

Method Description
GetAlpha ( Color newColor ) : Color
NewGore ( Vector2 Position, Vector2 Velocity, int Type, float Scale = 1f ) : int
Update ( ) : void

Method Details

GetAlpha() public method

public GetAlpha ( Color newColor ) : Color
newColor Color
return Color

NewGore() public static method

public static NewGore ( Vector2 Position, Vector2 Velocity, int Type, float Scale = 1f ) : int
Position Vector2
Velocity Vector2
Type int
Scale float
return int

Update() public method

public Update ( ) : void
return void

Property Details

active public property

public bool active
return bool

alpha public property

public int alpha
return int

behindTiles public property

public bool behindTiles
return bool

frame public property

public byte frame
return byte

frameCounter public property

public byte frameCounter
return byte

goreTime public static property

public static int goreTime
return int

light public property

public float light
return float

numFrames public property

public byte numFrames
return byte

position public property

public Vector2 position
return Vector2

rotation public property

public float rotation
return float

scale public property

public float scale
return float

sticky public property

public bool sticky
return bool

timeLeft public property

public int timeLeft
return int

type public property

public int type
return int

velocity public property

public Vector2 velocity
return Vector2