﻿namespace ChessDotNet
{
    public enum Event
    {
        Check,
        Checkmate,
        Stalemate,
        Draw,
        Custom,
        Resign,
        VariantEnd, // to be used for chess variants, which can be derived from ChessGame
        None
    }

    public class GameStatus
    {   
        public Event Event
        {
            get;
            private set;
        }

        public Player PlayerWhoCausedEvent
        {
            get;
            private set;
        }

        public string EventExplanation
        {
            get;
            private set;
        }

        public GameStatus(Event _event, Player whoCausedEvent, string eventExplanation)
        {
            Event = _event;
            PlayerWhoCausedEvent = whoCausedEvent;
            EventExplanation = eventExplanation;
        }
    }
}

﻿namespace ChessDotNet
{
    public enum Event
    {
        Check,
        Checkmate,
        Stalemate,
        Draw,
        Custom,
        Resign,
        VariantEnd, // to be used for chess variants, which can be derived from ChessGame
        None
    }

    public class GameStatus
    {   
        public Event Event
        {
            get;
            private set;
        }

        public Player PlayerWhoCausedEvent
        {
            get;
            private set;
        }

        public string EventExplanation
        {
            get;
            private set;
        }

        public GameStatus(Event @event, Player whoCausedEvent, string eventExplanation)
        {
            Event = @event;
            PlayerWhoCausedEvent = whoCausedEvent;
            EventExplanation = eventExplanation;
        }
    }
}

Remove underscore from parameter name
Remove underscore from parameter name
