예제 #1
0
 public DoorScript(VariableIdentifier keyIdentifier, VariableLookup lookup, string doorName)
 {
     this.keyIdentifier       = keyIdentifier;
     this.doorStateIdentifier = lookup.Unique("door state");
     this.doorName            = doorName;
 }
예제 #2
0
 public ItemScript(VariableIdentifier itemIdentifier, VariableLookup lookup)
 {
     this.itemIdentifier      = itemIdentifier;
     this.itemStateIdentifier = lookup.Unique("item state");
 }