Added layer module options

This commit is contained in:
Devine Lu Linvega
2017-03-28 00:18:04 -07:00
parent 86310ae73f
commit a8a23736bf
8 changed files with 129 additions and 149 deletions

View File

@@ -4,32 +4,39 @@ function Ronin()
this.element = null;
this.default = new Default("`");
this.surface = new Surface("@");
this.fileload = new FileLoad("/");
this.filesave = new FileSave("$");
this.overlay = new Overlay("|");
this.brush = new Brush("-");
this.eye = new Eye("*");
this.render = new Render("%");
this.path = new Path("+");
this.type = new Type("&");
this.cursor = new Cursor(".");
this.terminal = new Terminal(">");
this.brush = new Brush("-");
// this.fileload = new FileLoad("/");
// this.filesave = new FileSave("$");
this.source = new Source("$");
this.eye = new Eye("*");
this.render = new Render("%");
this.magnet = new Magnet("^");
this.overlay = new Overlay("|");
this.terminal = new Terminal(">");
this.cursor = new Cursor(".");
this.modules[this.surface.constructor.name] = this.surface;
this.modules[this.fileload.constructor.name] = this.fileload;
this.modules[this.filesave.constructor.name] = this.filesave;
this.modules[this.render.constructor.name] = this.render;
this.modules[this.brush.constructor.name] = this.brush;
this.modules[this.eye.constructor.name] = this.eye;
this.modules[this.type.constructor.name] = this.type;
this.modules[this.path.constructor.name] = this.path;
this.modules[this.terminal.constructor.name] = this.terminal;
this.modules[this.overlay.constructor.name] = this.overlay;
this.modules[this.magnet.constructor.name] = this.magnet;
this.modules[this.brush.constructor.name] = this.brush;
// this.modules[this.fileload.constructor.name] = this.fileload;
// this.modules[this.filesave.constructor.name] = this.filesave;
this.modules[this.source.constructor.name] = this.source;
// this.modules[this.render.constructor.name] = this.render;
// this.modules[this.eye.constructor.name] = this.eye;
// this.modules[this.magnet.constructor.name] = this.magnet;
this.modules[this.cursor.constructor.name] = this.cursor;
this.modules[this.terminal.constructor.name] = this.terminal;
//