nwnintf
Class InstanceUpdater

java.lang.Object
  |
  +--nwnintf.InstanceUpdater

public class InstanceUpdater
extends java.lang.Object


Field Summary
static java.lang.String creatureInstances
           
static java.lang.String doorInstances
           
static java.lang.String encounterInstances
           
static java.lang.String placeableInstances
           
static java.lang.String soundInstances
           
static java.lang.String storeInstances
           
static java.lang.String templateresrefKey
           
static java.lang.String triggerInstances
           
static java.lang.String waypointInstances
           
 
Constructor Summary
InstanceUpdater(NwnModule nwnmodule, java.util.Collection slotvalues)
           
 
Method Summary
 void updateAllAreas()
           
 boolean updateOneArea(ResRef areares)
           
 boolean updateOneInstance(java.lang.String type, ItpEntry inst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

creatureInstances

public static java.lang.String creatureInstances

doorInstances

public static java.lang.String doorInstances

encounterInstances

public static java.lang.String encounterInstances

soundInstances

public static java.lang.String soundInstances

storeInstances

public static java.lang.String storeInstances

triggerInstances

public static java.lang.String triggerInstances

waypointInstances

public static java.lang.String waypointInstances

placeableInstances

public static java.lang.String placeableInstances

templateresrefKey

public static java.lang.String templateresrefKey
Constructor Detail

InstanceUpdater

public InstanceUpdater(NwnModule nwnmodule,
                       java.util.Collection slotvalues)
Parameters:
slotvalues - a Collection of SlotValue instances summarizing the changes that have been made to blueprints.
Method Detail

updateAllAreas

public void updateAllAreas()
                    throws java.lang.Exception
java.lang.Exception

updateOneArea

public boolean updateOneArea(ResRef areares)
                      throws java.lang.Exception
java.lang.Exception

updateOneInstance

public boolean updateOneInstance(java.lang.String type,
                                 ItpEntry inst)
                          throws java.lang.Exception
java.lang.Exception