public class Character
extends java.lang.Object
Constructor and Description |
---|
Character(java.lang.String name,
java.lang.String shirtColour)
Creates a character with the given name, and shirt colour.
|
Modifier and Type | Method and Description |
---|---|
void |
idle() |
void |
jump() |
void |
move(java.lang.String direction) |
void |
say(java.lang.String text)
Makes the character say some text
|