コード例 #1
0
        public void OnEvent(string command)
        {
            switch (command)
            {
            case Shooting:
                _executionEngine.ShootingStarted();
                break;

            case Incident:
                _executionEngine.IncidentDiscovered();
                break;

            case Robbery:
                _executionEngine.RobberyTookPlace();
                break;
            }
        }