1
2
3
4
5
6 package cz.cuni.amis.pogamut.udk.t3dgenerator.elements.map;
7
8 import cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations.UnrealBean;
9 import cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations.UnrealChild;
10 import cz.cuni.amis.pogamut.udk.t3dgenerator.elements.AbstractBean;
11
12
13
14
15
16 @UnrealBean("Map")
17 public class MapElement extends AbstractBean {
18
19 @UnrealChild
20 private MapPackage mapPackage;
21 @UnrealChild
22 private Level level;
23 @UnrealChild
24 private Surface surface;
25
26 public MapElement(String name, MapPackage mapPackage, Level level, Surface surface) {
27 setName(name);
28 this.mapPackage = mapPackage;
29 this.level = level;
30 this.surface = surface;
31 }
32
33 public Level getLevel() {
34 return level;
35 }
36
37 public MapPackage getMapPackage() {
38 return mapPackage;
39 }
40
41 public Surface getSurface() {
42 return surface;
43 }
44
45
46 }