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  
16      protected Interval angle;
17  
18      protected UT2004Bot fst;
19      protected UT2004Bot snd;
20  
21      public TriangleSteeringProperties() {
22          super(SteeringType.TRIANGLE);
23      }
24  // <editor-fold defaultstate="collapsed" desc="getters and setters">
25      public Interval getAngle() {
26          return angle;
27      }
28  
29      public Interval getFstDistance() {
30          return fstDistance;
31      }
32  
33      public Interval getSndDistance() {
34          return sndDistance;
35      }
36  
37      public void SetAngle(Interval angle) {
38          this.angle = angle;
39      }
40  
41      public void SetFstDistance(Interval fstDistance) {
42          this.fstDistance = fstDistance;
43      }
44  
45      public void SetSndDistance(Interval sndDistance) {
46          this.sndDistance = sndDistance;
47      }
48      
49      
50      public UT2004Bot getFstBot() {
51          return fst;
52      }
53      public UT2004Bot getSndBot() {
54          return snd;
55      }
56  
57  
58      @Override
59      public String getSpecialText() {
60          throw new UnsupportedOperationException("Not supported yet.");
61      }
62  
63  
64      protected void setBasicProperties(boolean bln) {
65          throw new UnsupportedOperationException("Not supported yet.");
66      }
67  
68      @Override
69      public void setProperties(SteeringProperties sp) {
70          throw new UnsupportedOperationException("Not supported yet.");
71      }
72      // </editor-fold>
73  
74     
75  
76      
77  
78  
79  
80  
81  //tyto members by mohli byt soucasti i dalsich steeringu...
82      protected String headingType;
83      protected Interval headingValue;
84  
85      public String getHeadingType() {
86          return headingType;
87      }
88  
89      public void setHeadingType(String headingType) {
90          this.headingType = headingType;
91      }
92  
93      public Interval getHeadingValue() {
94          return headingValue;
95      }
96  
97      public void setHeadingValue(Interval headingValue) {
98          this.headingValue = headingValue;
99      }
100 
101 
102 
103     public void SetOtherAgents(UT2004Bot fst, UT2004Bot snd) {
104         this.fst = fst;
105         this.snd = snd;
106     }
107 
108     @Override
109     protected void setNewBehaviorType(BehaviorType behaviorType) {
110         //throw new UnsupportedOperationException("Not supported yet.");
111     }
112 
113     
114 
115 }