コード例 #1
0
        public void RefreshGame(GameState state)
        {
            if (mapAttributes == null)
            {
                mapAttributes = mapConverter.GetMapAttributes(state.Map);
            }

            map = mapConverter.ConvertToDrawable(state.Map, CanvasWidth, CanvasHeight);
            NotifyPropertyChanged("Map");

            Players = state.Players;

            RefreshFieldsToStripe(state);
        }