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.map;
7   
8   import cz.cuni.amis.pogamut.unreal.t3dgenerator.datatypes.Color;
9   
10  /**
11   *
12   * @author Martin Cerny
13   */
14  public class ArrowComponent extends AbstractPrimitiveComponent{
15  
16      private Color arrowColor = new Color(150, 200, 255, 255);
17      
18      private float arrowSize = 0.5f;
19      
20      private boolean treatAsSprite = true;
21      
22      private String spriteCategoryName = "Navigation";
23          
24      public ArrowComponent(String archeTypeName) {
25          super("Arrow", archeTypeName);
26      }
27  
28  
29      public Color getArrowColor() {
30          return arrowColor;
31      }
32  
33      public float getArrowSize() {
34          return arrowSize;
35      }
36  
37      public String getSpriteCategoryName() {
38          return spriteCategoryName;
39      }
40  
41      public boolean isTreatAsSprite() {
42          return treatAsSprite;
43      }
44  
45      
46  }