C# Class Terraria.Gore

ファイルを表示 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_oe property

public bool active
return bool

alpha public_oe property

public int alpha
return int

behindTiles public_oe property

public bool behindTiles
return bool

frame public_oe property

public byte frame
return byte

frameCounter public_oe property

public byte frameCounter
return byte

goreTime public_oe static_oe property

public static int goreTime
return int

light public_oe property

public float light
return float

numFrames public_oe property

public byte numFrames
return byte

position public_oe property

public Vector2 position
return Vector2

rotation public_oe property

public float rotation
return float

scale public_oe property

public float scale
return float

sticky public_oe property

public bool sticky
return bool

timeLeft public_oe property

public int timeLeft
return int

type public_oe property

public int type
return int

velocity public_oe property

public Vector2 velocity
return Vector2