Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public String toString() {
- StringBuilder str = new StringBuilder();
- str.append("Creature List\n");
- for ( int i = 0; i < creatureList.length; i++ )
- {
- str.append(i+1);
- str.append(". ");
- str.append(creatureList[i].toString());
- str.append("\n");
- }
- return str.toString();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement