MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / addLine

Method addLine

code/main/TheComputer.ts:67–69  ·  view source on GitHub ↗
(line: TheComputerLine)

Source from the content-addressed store, hash-verified

65 }
66
67 private addLine(line: TheComputerLine): void{
68 this.lines.push(line);
69 }
70
71 private addMisunderstood(): void{
72 this.addLine(new TheComputerLine(TheComputerLineType.TEXT, "This command was misunderstood. Try \"help\" for a list of available commands."));

Callers 4

addMisunderstoodMethod · 0.95
executeCommandMethod · 0.95
pressedEnterMethod · 0.95
switchOnOffMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected