Exemple #1
0
        private void OnChangeStateCall(ShipEvenentsType _eventType)
        {
            ChangeStateArgs args = new ChangeStateArgs();

            args.ChangeState = _eventType;
            OnChangeState(args);
        }
Exemple #2
0
        protected virtual void OnChangeState(ChangeStateArgs e)
        {
            EventHandler <ChangeStateArgs> handler = ChangeState;

            handler?.Invoke(this, e);
        }