Sorting out the cursor functionalities.

This commit is contained in:
Devine Lu Linvega
2016-12-18 21:23:53 -07:00
parent f80699271f
commit 87881159af
13 changed files with 151 additions and 24 deletions

27
scripts/modules/module.js Normal file
View File

@@ -0,0 +1,27 @@
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 "";
}
}