ronin/scripts/modules/module.js
Devine Lu Linvega 6c3ed550d3 Added eraser.
2016-12-20 10:07:29 -07:00

44 lines
598 B
JavaScript

function Module(rune)
{
this.rune = rune;
this.element = null;
this.parameters = [];
this.variables = [];
this.active = function(cmd)
{
console.log("Nothing to do.");
}
this.passive = function(cmd)
{
console.log("Nothing to do.");
}
this.hint = function(cmd)
{
return "unknown";
}
this.widget = function()
{
return "";
}
this.widget_cursor = function()
{
return "Missing";
}
this.mouse_down = function(position)
{
}
this.mouse_move = function(position)
{
}
this.mouse_up = function(position)
{
}
}