function AverageTypingSpeed() {
	var fontStyle = AverageTypingSpeed.DEFAULT_TEXT_FONT;

	fontStyle.align = "right";
	fontStyle.boundsAlignH = "right";
	this.tytleSpeedText = game.add.text(game.world.width / 2 + 20, AverageTypingSpeed.FONT_HEIGHT_PX, "현재 타수 : ", fontStyle);
	this.tytleSpeedText.anchor.set(1, 0.5);

	fontStyle.align = "left";
	fontStyle.boundsAlignH = "left";
	this.typingSpeedText = game.add.text(game.world.width / 2 + 20, AverageTypingSpeed.FONT_HEIGHT_PX, "0", fontStyle);
	this.typingSpeedText.anchor.set(0, 0.5);

	// var grd = this.label.context.createLinearGradient(0, 0, 0, AverageTypingSpeed.FONT_HEIGHT_PX);
	// grd.addColorStop(0, '#8ED6FF');
	// grd.addColorStop(1, '#004CB3');
	// this.label.fill = grd;
	// this.scoreText.fill = grd;

	// this.setShadow(3, 3, 'rgba(0, 0, 0, 0.5)', 2);
	// this.label.stroke = '#000';
	// this.label.strokeThickness = 3;
};

AverageTypingSpeed.prototype.print = function(typingSpeed) {
	this.typingSpeedText.text = typingSpeed;
}


AverageTypingSpeed.FONT_HEIGHT_PX		= 30;

AverageTypingSpeed.DEFAULT_TEXT_FONT	= {
	font: "38px Arial",
	align: "center",
	boundsAlignH: "center",		// left, center. right
	boundsAlignV: "middle", 	// top, middle, bottom
	fill: "#fff"
};