function TextParticle(string, font, color, parent) {
	this.text = string;
	this.font = font;
	this.color = color;
	this.position = new Vector2D(0, 0);
	this.lifetime = 3000;
	this.parent = parent;
}

TextParticle.prototype.getPosition = function() {
	return (this.parent) ? this.parent.position : this.position;
}
