Implemented df and cls/clear commands

This commit is contained in:
Daniel Xie
2016-10-20 16:11:01 -05:00
parent ce0ca6c24d
commit 4057f946d8
4 changed files with 18 additions and 7 deletions
+5 -2
View File
@@ -87,7 +87,7 @@ var Engine = {
loadTerminalContent: function() {
Engine.hideAllContent();
Engine.Display.terminalContent.style.visibility = "visible";
post("Netburner v1.0");
postNetburnerText();
},
loadCharacterContent: function() {
@@ -141,6 +141,9 @@ var Engine = {
/* Initialization */
init: function() {
//Initialize Player objects
Player.init();
//Load, save, and delete buttons
//Engine.Clickables.saveButton = document.getElementById("save");
//Engine.Clickables.saveButton.addEventListener("click", function() {
@@ -182,7 +185,7 @@ var Engine = {
Engine.displayCharacterInfo();
//Message at the top of terminal
post("Netburner v1.0");
postNetburnerText();
//Run main loop
Engine.idleTimer();