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); }
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; }