diff --git a/nyanReporter.js b/nyanReporter.js index e99ee25..6a22d00 100644 --- a/nyanReporter.js +++ b/nyanReporter.js @@ -30,7 +30,7 @@ class NyanReporter { * * @constructor */ - constructor(options = {}) { + constructor(_, options = {}) { var nyanCatWidth = this.nyanCatWidth = 11; var width = window.width * 0.75 || 0; @@ -111,7 +111,7 @@ class NyanReporter { /** * Draws the type of stat along with a color */ - drawType(type, n) { + drawType(type, n = 0) { write(' '); write(color(type, n)); write('\n'); @@ -235,4 +235,4 @@ class NyanReporter { } } -module.exports = NyanReporter; \ No newline at end of file +module.exports = NyanReporter;