Devine Lu Linvega a2fed4c21e Added icons
2017-01-12 15:37:22 -07:00

15 lines
296 B
JavaScript

function Range(range_str)
{
Unit.call(this);
this.example = "10..50";
this.range_str = range_str;
this.from = parseFloat(this.range_str.split("..")[0]);
this.to = parseFloat(this.range_str.split("..")[1]);
this.render = function()
{
return this.from+".."+this.to;
}
}