void ClearCollectionsForNewRoom()
 {
     /*Clears the description, items and exits so they can be replaces with the new room's*/
     interactableItems.ClearCollections();
     interactionDescriptionsInRoom.Clear();
     roomNavigation.ClearExits();
 }
Example #2
0
 void ClearCollectionsForNewRoom()
 {
     roomNavigation.oldclip = _source.clip;
     interactableItems.ClearCollections();
     interactionDescriptionsInRoom.Clear();
     roomNavigation.ClearExits();
 }
Example #3
0
 void ClearCollectionForNewRoom()
 {
     //clear the previous descriptions of the exits in the room
     interactionDescriptionsInRoom.Clear();
     roomNavigation.ClearExits();
     interactableItems.ClearCollections();
 }
Example #4
0
    public void ClearCollectionsForNewRoom()
    {
        //Clears the various lists used for figuring out what's displayed in each room, so that it can be ready to accept new parameters

        interactableItems.ClearCollections();
        interactionDescriptionsInRoom.Clear();
        //interactableItems.responseDictionary.Clear();
        roomNavigation.ClearExits();
    }
Example #5
0
    void ClearCollectionsForNewRoom()
    {
        interactionDescriptionsInRoom.Clear();
        exitDescriptionInRoom.Clear();
        roomNavigation.ClearExits();

        foreach (var clone in clones)
        {
            Destroy(clone);
        }
        clones.Clear();
    }
Example #6
0
 void ClearCollectionsForNewRoom()
 {
     interactableItems.ClearCollections();
     interactionDescriptionsInRoom.Clear();
     roomNavigation.ClearExits();
 }
Example #7
0
 void ClearForNewRoom()                                                                              // function to clear everything when switching rooms
 {
     interactableItems.ClearCollections();
     interactionDescriptionsInRoom.Clear();                                                                      // clear description list
     roomNavigation.ClearExits();                                                                                // call function to clear exits dictionary
 }
Example #8
0
 void ClearNewRoom()
 {
     interactionDescription.Clear();
     roomNavigation.ClearExits();
 }
Example #9
0
 void ClearCollectionForNewRoom()
 {
     interaction.Clear();
     roomNavigation.ClearExits();
 }
Example #10
0
 void clearCollectionsForNewRoom()
 {
     interactiveDescriptionsInRoom.Clear();
     roomNavigation.ClearExits();
 }
 void ClearForNewRoom()                                                                              // function to clear lists when changing rooms
 {
     interactableItems.ClearCollection();
     interactionDescriptionsInRoom.Clear();                                                                      // clear interactionDescriptions list
     roomNavigation.ClearExits();                                                                                // clear exit room dictionary in room navigation
 }
Example #12
0
 void ClearCollectionsForNewRoom()
 {
     interactableItems.ClearCollections();
     interactableDescriptions.Clear();
     navigation.ClearExits();
 }
Example #13
0
 void ClearRoom()
 {
     roomNavigation.ClearExits();
     interactableItems.ClearInteractablesInRoom();
 }