Files
ronin/scripts/units/mode.js
Devine Lu Linvega 5d8d7cadb5 Removed old render()
2017-05-24 20:16:13 -10:00

13 lines
239 B
JavaScript

function Mode(name,key = "")
{
Unit.call(this);
this.host = null;
this.name = name;
this.key = key;
this.toString = function()
{
return "<span class='mode'>~"+this.name+(this.key ? '['+this.key+']' : '')+"</span>"
}
}