Package marauroa.common.game
Class CharacterResult
java.lang.Object
marauroa.common.game.CharacterResult
This class represent the result of creating an account. It will also contains
the generated username and the generated RPObject, so we can inform client
about changes on username and/or RPObject.
- Author:
- miguel
-
Constructor Summary
ConstructorDescriptionCharacterResult(Result result, String character, RPObject template)
Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the username generated by create account.Returns the result of creating the accountReturns the template object used.
-
Constructor Details
-
CharacterResult
Constructor- Parameters:
result
- the result of creating the character.character
- the username generated.template
- the template of the object to create
-
-
Method Details
-
getResult
Returns the result of creating the account- Returns:
- the result of creating the account
-
getCharacter
Returns the username generated by create account.- Returns:
- the username generated by create account.
-
getTemplate
Returns the template object used.- Returns:
- the template object used.
-