public void setAvatar(byte[] avatar) throws RemoteException, IllegalActionException {
performer.perform(new SetAvatarAction(generator.getNextID(), avatar));
}
public PlayerId getPlayerID() throws RemoteException, IllegalActionException {
return performer.perform(new GetPlayerIDAction(generator.getNextID()));
}