Ejemplo n.º 1
0
        private void HandleActionFinish()
        {
            gameScreen.SelectedCharacter = null;
            gameScreen.ChangeMode(GameScreenMode.BattleMode);

            CharacterPositionMessage message = new CharacterPositionMessage();

            message.PlayerName = Controller.GetInstance().GetLocalPlayer().Name;
            foreach (Character character in Controller.GetInstance().GetLocalPlayer().GetCharacters())
            {
                message.AddCharacter(character.RootName, character.MapLocation);
            }

            Controller.GetInstance().Client.SendData(message);
        }