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.datatypes;
7   
8   import cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations.FieldName;
9   import cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations.UnrealDataType;
10  
11  /**
12   * A predecessor for all datatypes that represent kismet links.
13   * @author Martin Cerny
14   */
15  @UnrealDataType
16  public abstract class KismetAbstractLink  {
17      Integer drawY;
18      Integer overrideDelta;
19  
20      @FieldName("LinkDesc")
21      String description;
22  
23      public KismetAbstractLink() {
24          drawY = null;
25          overrideDelta = null;
26      }
27  
28      public KismetAbstractLink(Integer drawY, Integer overrideDelta) {
29          this.drawY = drawY;
30          this.overrideDelta = overrideDelta;
31      }
32  
33      
34      public String getDescription() {
35          return description;
36      }
37  
38      public Integer getDrawY() {
39          return drawY;
40      }
41  
42      public Integer getOverrideDelta() {
43          return overrideDelta;
44      }
45  
46      public void setDescription(String description) {
47          this.description = description;
48      }
49  
50      public void setDrawY(Integer drawY) {
51          this.drawY = drawY;
52      }
53  
54      public void setOverrideDelta(Integer overrideDelta) {
55          this.overrideDelta = overrideDelta;
56      }
57  
58      
59  
60  }