コード例 #1
0
        private void DrawFace(SelectData data)
        {
            if (data == null)
            {
                return;
            }

            var selection = Grid.GetSelection(data.CurrentCell, false);

            if (selection == null)
            {
                return;
            }

            if (selection.SelectionType == PlayerSelectType.Profile)
            {
                data.DrawProfile(selection.Profile);
            }
        }
コード例 #2
0
        void DrawFace(SelectData data)
        {
            if (data == null)
            {
                throw new ArgumentNullException("data");
            }

            PlayerSelect selection = GetSelection(data.CurrentCell, false);

            if (selection == null)
            {
                return;
            }

            if (selection.SelectionType == PlayerSelectType.Profile)
            {
                data.DrawProfile(selection.Profile);
            }

            if (selection.SelectionType == PlayerSelectType.Random)
            {
            }
        }