class Mud::Game::Help

Overview

The help command to tell players what commands are available.

Defined in:

game/command.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Mud::Game::Command

run run

Constructor methods inherited from class Mud::Game::Command

new(id : UInt16, world : Mud::Game::World) new

Class methods inherited from class Mud::Game::Command

parse(id, input, world) : Command | Nil parse

Constructor Detail

def self.new(id, world) #

[View source]

Class Method Detail

def self.compile #

Constructs the help string based on implemented commands.


[View source]
def self.help(&) #

Yields help description.


[View source]

Instance Method Detail

def run #

Runs the help command to print information about available commands.


[View source]