Something went wrong on our end
-
Brutzman, Don authoredBrutzman, Don authored
MaroonUnit.java 820 B
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tcpserver;
/**
*
* @author Kens
*/
class MaroonUnit {
private int[] position = new int[3];
private int ID;
MaroonUnit() {
this.position[0] = 0;
this.position[1] = 0;
this.position[2] = 0;
this.ID = 50;
}
MaroonUnit(int x, int y, int z, int id){
this.position[0] = x;
this.position[1] = y;
this.position[2] = z;
this.ID = id;
}
int getID(){
return this.ID;
}
int [] getPosition(){
return this.position;
}
}