예제 #1
0
 public PlayScreen(LevelSelectionScreen lss, Map m, bool b)
 {
     map = m;
     levelselect = lss;
     towers = new List<Tower>(10);
     session = new Session(m);
     session.HealthDecreased += new EventHandler(session_HealthDecreased);
     session.MapFinished += new EventHandler(session_MapFinished);
 }
예제 #2
0
        public GameOverScreen(LevelSelectionScreen lss)
        {
            prevEntry = "MenuUp";
            nextEntry = "MenuDown";
            selectedEntry = "MenuAccept";
            cancelMenu = "MenuCancel";

            TransitionOnTime = TimeSpan.FromSeconds(1);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            Selected = Highlighted = new Color(214, 232, 223);
            Normal = new Color(104, 173, 178);

            levelselect = lss;
        }