19 lines
435 B
Java
19 lines
435 B
Java
package moe.oko.opennaw.model;
|
|
|
|
import org.bukkit.Location;
|
|
|
|
public class City {
|
|
private String name;
|
|
private String resource;
|
|
private Nation owner;
|
|
private Location point;
|
|
private short health;
|
|
|
|
public City(String name, String resource, Location location) {
|
|
this.name = name;
|
|
this.resource = resource;
|
|
this.owner = null;
|
|
this.point = location;
|
|
this.health = 500;
|
|
}
|
|
} |