-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNatureTerrain.java
More file actions
46 lines (36 loc) · 859 Bytes
/
NatureTerrain.java
File metadata and controls
46 lines (36 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
public class NatureTerrain {
String name;
NatureTerrainType type;
int cout;
int volume;
public NatureTerrain(String name, NatureTerrainType type, int cout, int volume) {
this.name = name;
this.type = type;
this.cout = cout;
this.volume = volume;
}
public String getName(){
return this.name;
}
public NatureTerrainType getType() {
return this.type;
}
public int getCout() {
return this.cout;
}
public int getVolume(){
return this.volume;
}
public void setName(String name) {
this.name = name;
}
public void setType(NatureTerrainType type) {
this.type = type;
}
public void setCout(int c){
this.cout = c;
}
public void setVolume( int v){
this.volume = v;
}
}