|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Commands.StdCommand
com.planet_ink.coffee_mud.Commands.Go
com.planet_ink.coffee_mud.Commands.South
public class South
| Field Summary |
|---|
| Fields inherited from class com.planet_ink.coffee_mud.Commands.Go |
|---|
ifneccvec, stander |
| Fields inherited from class com.planet_ink.coffee_mud.Commands.StdCommand |
|---|
ID, noCoinFilter |
| Constructor Summary | |
|---|---|
South()
|
|
| Method Summary | |
|---|---|
boolean |
canBeOrdered()
Whether the a group leader or charmer can order their followers to do this command. |
boolean |
execute(MOB mob,
java.util.List<java.lang.String> commands,
int metaFlags)
This method actually performs the command, when the given parsed set of command-line words. |
java.lang.String[] |
getAccessWords()
Returns the set of command words, with the most public one first, that are entered by the user to initiate this command. |
boolean |
securityCheck(MOB mob)
Whether this command is available to the given player |
| Methods inherited from class com.planet_ink.coffee_mud.Commands.Go |
|---|
actionsCost, standIfNecessary |
| Methods inherited from class com.planet_ink.coffee_mud.Commands.StdCommand |
|---|
checkArguments, checkedActionsCost, combatActionsCost, compareTo, copyOf, executeInternal, I, ID, initializeClass, L, name, newInstance, preExecute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public South()
| Method Detail |
|---|
public java.lang.String[] getAccessWords()
Command
getAccessWords in interface CommandgetAccessWords in class Go
public boolean execute(MOB mob,
java.util.List<java.lang.String> commands,
int metaFlags)
throws java.io.IOException
Command
execute in interface Commandexecute in class Gomob - the mob or player issueing the commandcommands - usually the command words and parameters; a set of stringsmetaFlags - flags denoting how the command is being executed
java.io.IOException - usually means the player has dropped carrierCommand.actionsCost(MOB, List),
Command.securityCheck(MOB)public boolean canBeOrdered()
Command
canBeOrdered in interface CommandcanBeOrdered in class Gopublic boolean securityCheck(MOB mob)
Command
securityCheck in interface CommandsecurityCheck in class StdCommandmob - the player mob who might not even know about this command
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||