ryanberckmans / mud-client

http://noric.org/play
1 stars 2 forks source link

implement EchoStream #14

Closed ryanberckmans closed 10 years ago

ryanberckmans commented 10 years ago

Create EchoStream, used by clients to render local echo messages.

Move client.js:echo() into EchoStream. EchoStream.pushLine should throw an exception and disallow using pushLine() directly. EchoStream.echo() should call MudStream.pushLine with the rendered text.

ryanberckmans commented 10 years ago

Implemented in f162179