ronin/sources/scripts/units/variable.js
Devine Lu Linvega a2fed4c21e Added icons
2017-01-12 15:37:22 -07:00

16 lines
298 B
JavaScript

function Variable(key,value)
{
Unit.call(this);
this.candidates = [];
this.key = key;
if(value == "true"){ this.value = true; }
else if(value == "false"){ this.value = false; }
else{ this.value = value; }
this.render = function()
{
return this.key+"="+this.value;
}
}