24 lines
264 B
Java
24 lines
264 B
Java
|
package gameobjects;
|
||
|
|
||
|
public abstract class Infantry {
|
||
|
|
||
|
private int health;
|
||
|
|
||
|
private int damage;
|
||
|
|
||
|
private int range;
|
||
|
|
||
|
public void attack(Building b) {
|
||
|
}
|
||
|
|
||
|
public void getHealth() {
|
||
|
}
|
||
|
|
||
|
public void getDamage() {
|
||
|
}
|
||
|
|
||
|
public void getRange() {
|
||
|
}
|
||
|
|
||
|
}
|