Exemple #1
0
        public void Update()
        {
            items.Clear();

            foreach (var saveGame in saveGame.GetSavedGames())
            {
                items.Add(saveGame);
            }

            Update(interf);
        }
Exemple #2
0
        public ListSavedFiles(Interface interf)
            : base(interf, Render.TextRenderType.NewUI)
        {
            saveGame = GameStore.Instance;

            foreach (var saveGame in saveGame.GetSavedGames())
            {
                items.Add(saveGame);
            }

            this.interf = interf;

            Init(interf);
        }