Blame view

src/mior/model/MiorOM.java 440 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
  package mior.model;
  
  
  import org.jocl.struct.Struct;
  
  public class MiorOM extends Struct implements IMiorOM {
  	
  	public float		x;
  	public float		y;
  	
  	public int			carbone = 5000;
  	public int			lock = -1;
  	
  	public MiorOM(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;
  	}
  	
  }