ronin/scripts/ronin.hint.js
2016-11-16 11:36:11 -08:00

17 lines
310 B
JavaScript

function Hint(element)
{
Module.call(this);
this.element = element;
this.update = function()
{
if(ronin.module){
this.element.innerHTML = ronin.module.hint(commander.cmd);
this.element.style.display = "block";
}
else{
this.element.style.display = "none";
}
}
}