Blame view

src/collembola/model/CollemCell.java 549 Bytes
1b1e928cc   glaville   initial import of...
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
  package collembola.model;
  
  public class CollemCell {
  	
  	private int patchId;
  	private int terrainType;
  	
  	public CollemCell() {
  		this.patchId = -1;
  		this.terrainType = -1;
  	}
  	
  	public void setPatchId(int patchId) {
  		this.patchId = patchId;
  	}
  	
  	public int getPatchId() {
  		return patchId;
  	}
  	
  	public void setTerrainType(int terrainType) {
  		this.terrainType = terrainType;
  	}
  	
  	public int getTerrainType() {
  		return terrainType;
  	}
  	
  	@Override
  	public String toString() {
  		return "CollemCell(" + patchId + ", " + terrainType + ")";
  	}
  
  }