View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   
6   package cz.cuni.amis.pogamut.udk.t3dgenerator.elements.kismet;
7   
8   import cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations.FieldName;
9   import cz.cuni.amis.pogamut.unreal.t3dgenerator.datatypes.StaticReference;
10  import cz.cuni.amis.pogamut.unreal.t3dgenerator.datatypes.UnrealReference;
11  
12  /**
13   *
14   * @author Martin Cerny
15   */
16  public class ObjectVariable  extends KismetVariable{
17  
18      @FieldName("ObjValue")
19      private UnrealReference value;
20      
21      public ObjectVariable(UnrealReference value){
22          this("Engine.Default__SeqVar_Object", value);
23      }
24  
25      public ObjectVariable(String archetypeName, UnrealReference value){
26          super("SeqVar_Object",archetypeName);
27          this.value = value;
28      }
29  
30      public UnrealReference getValue() {
31          return value;
32      }
33  
34      public void setValue(UnrealReference value) {
35          this.value = value;
36      }
37      
38      
39  
40  }