コード例 #1
0
 // -------------------------------------------------------------------------------
 // PartyPlayer
 // -------------------------------------------------------------------------------
 public PartyPlayer() : base()
 {
     InteractedObjects   = new List <Interaction>();
     DeactivatedObjects  = new List <Interaction>();
     MapExplorationInfo  = new MapExplorationData();
     TownExplorationInfo = new TownExplorationData();
     currencies          = new PartyCurrencies();
     inventory           = new PartyInventory();
     equipment           = new PartyEquipment();
     characters.Clear();
 }
コード例 #2
0
        // -------------------------------------------------------------------------------
        // Savegame
        // -------------------------------------------------------------------------------
        public Savegame()
        {
            InteractedObjects   = new List <Interaction>();
            DeactivatedObjects  = new List <Interaction>();
            MapExplorationInfo  = new MapExplorationData();
            TownExplorationInfo = new TownExplorationData();

            inventory  = new PartyInventory();
            equipment  = new PartyEquipment();
            characters = new List <SavegameCharacter>();

            gold = 0;
        }