Synthia
Generic and flexible data structure generator
AreaMap.java
Go to the documentation of this file.
1
package
ca.uqac.lif.synthia.map;
2
3
import
java.util.List;
4
5
public
class
AreaMap
6
{
7
protected
int
m_width
;
8
protected
int
m_height
;
9
protected
List<Point>
m_hubs
;
10
11
public
AreaMap
(
int
width,
int
height, List<Point> hubs)
12
{
13
m_width
= width;
14
m_height
= height;
15
m_hubs
= hubs;
16
}
17
18
public
int
getWidth
()
19
{
20
return
m_width
;
21
}
22
23
public
int
getHeight
()
24
{
25
return
m_height
;
26
}
27
28
public
List<Point>
getHubs
()
29
{
30
return
m_hubs
;
31
}
32
}
ca.uqac.lif.synthia.map.AreaMap
Definition:
AreaMap.java:5
ca.uqac.lif.synthia.map.AreaMap.m_hubs
List< Point > m_hubs
Definition:
AreaMap.java:9
ca.uqac.lif.synthia.map.AreaMap.getHeight
int getHeight()
Definition:
AreaMap.java:23
ca.uqac.lif.synthia.map.AreaMap.m_width
int m_width
Definition:
AreaMap.java:7
ca.uqac.lif.synthia.map.AreaMap.getHubs
List< Point > getHubs()
Definition:
AreaMap.java:28
ca.uqac.lif.synthia.map.AreaMap.m_height
int m_height
Definition:
AreaMap.java:8
ca.uqac.lif.synthia.map.AreaMap.AreaMap
AreaMap(int width, int height, List< Point > hubs)
Definition:
AreaMap.java:11
ca.uqac.lif.synthia.map.AreaMap.getWidth
int getWidth()
Definition:
AreaMap.java:18
Source
Core
src
ca
uqac
lif
synthia
map
AreaMap.java
Generated by
1.8.17