*
This commit is contained in:
parent
e732715c13
commit
0a8f42d068
@ -37,7 +37,10 @@ starting_canvas.height = parseInt(starting_canvas.height/40) * 40;
|
||||
commander.query("~ "+ronin.timestamp());
|
||||
commander.query("@ "+starting_canvas.render());
|
||||
commander.query("@ layer=Background");
|
||||
commander.query("@ #a1a1a1");
|
||||
commander.query("@ #222");
|
||||
commander.query("@ layer=Main");
|
||||
commander.query("> 1 ; > 0,0 ; > 1,1 ; > #ffffff");
|
||||
commander.query("> 0,0");
|
||||
commander.query("> 1,1");
|
||||
commander.query("> 2,2");
|
||||
commander.query("> #ff0000");
|
||||
commander.query("~ Ready.");
|
@ -26,7 +26,7 @@ function Keyboard()
|
||||
case "ArrowDown": this.key_arrow_down(); break;
|
||||
case "ArrowLeft": this.key_arrow_left(); break;
|
||||
case "ArrowRight": this.key_arrow_right(); break;
|
||||
// case ":": this.key_colon(); break;
|
||||
case ":": this.key_colon(); break;
|
||||
case "Escape": this.key_escape(); break;
|
||||
}
|
||||
|
||||
@ -39,6 +39,7 @@ function Keyboard()
|
||||
case 221: ronin.brush.size_down(); break;
|
||||
case 38: ronin.surface.layer_up(); break;
|
||||
case 40: ronin.surface.layer_down(); break;
|
||||
case 8: this.key_delete(); break;
|
||||
}
|
||||
|
||||
// Passive
|
||||
@ -89,8 +90,11 @@ function Keyboard()
|
||||
{
|
||||
commander.hide();
|
||||
|
||||
Object.keys(ronin.modules).forEach(function (key){
|
||||
ronin.modules[key].key_escape();
|
||||
});
|
||||
if(ronin.module){ ronin.module.key_escape(); }
|
||||
}
|
||||
|
||||
this.key_delete = function()
|
||||
{
|
||||
if(ronin.module){ ronin.module.key_delete(); }
|
||||
}
|
||||
}
|
||||
|
@ -99,6 +99,9 @@ function Module(rune)
|
||||
|
||||
this.key_escape = function()
|
||||
{
|
||||
}
|
||||
|
||||
this.key_delete = function()
|
||||
{
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user