public void SetCharacter(Character character)
{
Character = character;
// register WCF events
ServiceFactory.Instance.CommunicationCallback.CharacterConnectedEvent += CommunicationCallback_CharacterConnectedEvent;
ServiceFactory.Instance.CommunicationCallback.CharacterDisconnectedEvent += CommunicationCallback_CharacterDisconnectedEvent;
HasSelectedCharacter = true;
// register for servermanager
ServerManager.Instance.RegisterSession(this);
Character.SetSession(this);
}