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.annotations.UnrealChild;
9   import cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations.UnrealComponent;
10  import cz.cuni.amis.pogamut.unreal.t3dgenerator.datatypes.Vector3D;
11  
12  /**
13   *
14   * @author Martin Cerny
15   * @see <a href="http://wiki.beyondunreal.com/UE3:PathNode_%28UDK%29">http://wiki.beyondunreal.com/UE3:PathNode_%28UDK%29</a>
16   */
17  public class PathNode extends NavigationPoint{
18      
19      @UnrealChild
20      @UnrealComponent
21      private SpriteComponent spriteComponent = new SpriteComponent("Engine.Default__PathNode:Sprite", "EditorResources.S_Pickup", "Navigation");
22      
23      @UnrealChild
24      @UnrealComponent
25      private ArrowComponent arrowComponent = new ArrowComponent("Engine.Default__PathNode:Arrow");
26  
27      public PathNode(Vector3D location){
28          super("PathNode", location, new CollisionCylinderComponent("Engine.Default__PathNode:CollisionCylinder", 50,50));
29  
30      }
31  
32      public ArrowComponent getArrowComponent() {
33          return arrowComponent;
34      }
35  
36      public SpriteComponent getSpriteComponent() {
37          return spriteComponent;
38      }
39      
40      
41  }