Allows the player to type a direction and proceed to the next room if that direction is open to the player.

extends:
core.WObject

implements:
parser.commands.Command;

package: parser.commands;

Contents

Constructors

Go(String name, String description)

Create a new Go command with the given name and description.

Methods

void invoke(String[] parts, Player p, Map m)

Try to exit in the specified direction.

boolean equals(String name)

Check for equality between this Command and the parameter name