Beispiel #1
0
        public static void Raise_Event(LevelEvent le)
        {
            switch (le)
            {
            case LevelEvent.LE_Check_Collision:
            {
                CurrentLevel.CheckLevelCollisions(null, null);
            } break;

            case LevelEvent.LE_PaintForm:
            {
                if (instance.MyForm != null)
                {
                    instance.MyForm.Invalidate();
                }
            } break;
            }
        }