Home Reference Source
import {Log} from 'cards/src/log.js'
public class | source

Log

Allows 'slow' writing of strings to the repl to provide a slower pace to the game

Constructor Summary

Public Constructor
public

constructor(repl: *)

Member Summary

Public Members
public

repl: *

Method Summary

Public Methods
public

writeLine(msg: *): *

{string} msg The message to display to the player in the repl

Public Constructors

public constructor(repl: *) source

Params:

NameTypeAttributeDescription
repl *

Public Members

public repl: * source

Public Methods

public writeLine(msg: *): * source

{string} msg The message to display to the player in the repl

Params:

NameTypeAttributeDescription
msg *

Return:

*