View Javadoc

1   package SocialSteeringsBeta;
2   
3   import SteeringProperties.SteeringProperties;
4   import SteeringStuff.SteeringType;
5   import cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot;
6   
7   /**
8    *
9    * @author Petr
10   */
11  public class TriangleSteeringProperties extends SteeringProperties {
12  
13      protected Interval fstDistance;
14      protected Interval sndDistance;
15      protected Interval angle;
16      protected UT2004Bot fst;
17      protected UT2004Bot snd;
18  
19      public TriangleSteeringProperties() {
20          super(SteeringType.TRIANGLE);
21      }
22  // <editor-fold defaultstate="collapsed" desc="getters and setters">
23  
24      public Interval getAngle() {
25          return angle;
26      }
27  
28      public Interval getFstDistance() {
29          return fstDistance;
30      }
31  
32      public Interval getSndDistance() {
33          return sndDistance;
34      }
35  
36      public void SetAngle(Interval angle) {
37          this.angle = angle;
38      }
39  
40      public void SetFstDistance(Interval fstDistance) {
41          this.fstDistance = fstDistance;
42      }
43  
44      public void SetSndDistance(Interval sndDistance) {
45          this.sndDistance = sndDistance;
46      }
47  
48      public UT2004Bot getFstBot() {
49          return fst;
50      }
51  
52      public UT2004Bot getSndBot() {
53          return snd;
54      }
55  
56      @Override
57      public String getSpecialText() {
58          throw new UnsupportedOperationException("Not supported yet.");
59      }
60  
61      protected void setBasicProperties(boolean bln) {
62          throw new UnsupportedOperationException("Not supported yet.");
63      }
64  
65      @Override
66      public void setProperties(SteeringProperties sp) {
67          throw new UnsupportedOperationException("Not supported yet.");
68      }
69      // </editor-fold>
70  //these members could be included also in other steerings...
71      protected String headingType;
72      protected Interval headingValue;
73  
74      public String getHeadingType() {
75          return headingType;
76      }
77  
78      public void setHeadingType(String headingType) {
79          this.headingType = headingType;
80      }
81  
82      public Interval getHeadingValue() {
83          return headingValue;
84      }
85  
86      public void setHeadingValue(Interval headingValue) {
87          this.headingValue = headingValue;
88      }
89  
90      public void SetOtherAgents(UT2004Bot fst, UT2004Bot snd) {
91          this.fst = fst;
92          this.snd = snd;
93      }
94  
95      @Override
96      protected void setNewBehaviorType(BehaviorType behaviorType) {
97          //throw new UnsupportedOperationException("Not supported yet.");
98      }
99  }