//test
-void ResourceView::setLines( QString type, int i )
+void ResourceView::setLines( QString type, float i )
{
if (type == tr("metal"))
MetalEdit->setText(QString("%1").arg(i));
ScoreEdit->setText(QString("%1").arg(i));
else if (type == tr("lost"))
ScoreLostEdit->setText(QString("%1").arg(i));
+ else if (type == tr("cost"))
+ CostEdit->setText(QString("%1").arg(i));
}
\ No newline at end of file