nwnintf
Class ScriptSlot

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

public class ScriptSlot
extends java.lang.Object

Encapsulate a blueprint with a script slot and the source code string to go in it.


Constructor Summary
ScriptSlot(ScriptSlotRef slotref, java.lang.String sourcecode)
          Bytecode gets filled in later.
 
Method Summary
 byte[] getBytecode()
           
 ScriptCode getCode()
           
 ScriptSlotRef getSlotref()
           
 java.lang.String getSourcecode()
           
 void setBytecode(byte[] bytecode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptSlot

public ScriptSlot(ScriptSlotRef slotref,
                  java.lang.String sourcecode)
           throws java.lang.Exception
Bytecode gets filled in later.

Method Detail

getSlotref

public ScriptSlotRef getSlotref()

getSourcecode

public java.lang.String getSourcecode()

setBytecode

public void setBytecode(byte[] bytecode)

getBytecode

public byte[] getBytecode()

getCode

public ScriptCode getCode()