예제 #1
0
        public Memento(string filepath)
        {
            var savedState = DataSerializer.DeserializeState(filepath);

            InventoryState = savedState.InventoryState;
            WalletState    = savedState.WalletState;
            PetState       = savedState.PetState;
        }