XNACS1Lib: CSS490 Spring 2011
Constructs the particle

Namespace: XNACS1Lib
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0

Syntax

C#
public XNACS1Particle(
	Vector2 center,
	float size,
	int life,
	string tex
)

Parameters

center
Type: Vector2
Center of particle.
size
Type: System..::..Single
Radius of particle.
life
Type: System..::..Int32
Life parameter, used by emitters, autodecrements by one each tick if larger than zero.
tex
Type: System..::..String
Texture to be used by particle.

See Also