Blame view

src/mior/model/MiorMM.java 503 Bytes
89f70c1ec   glaville   import current mc...
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
  package mior.model;
  
  
  import org.jocl.struct.Struct;
  
  public class MiorMM extends Struct implements IMiorMM {
  	
  	public float	    x;
  	public float     	y;
  	
  	public int 			carbone  = 5000;
  	public int			dormance = 0;
  	
  	public MiorMM(float x, float y) {
  		this.x = x;
  		this.y = y;
  	}
  	
  	@Override
  	public float getX() {
  		return x;
  	}
  	
  	@Override
  	public float getY() {
  		return y;
  	}
  	
  	@Override
  	public int getCarbone() {
  		return carbone;
  	}
  	
  	public int getDormance() {
  		return dormance;
  	}
  
  }