package com.medievaltech.advancewars; import android.graphics.Canvas; import android.graphics.Point; public class City { public Player owner; public int maxHealth; public int currentHealth; public int sightRange; public Point location; public City() { owner = null; maxHealth = 10; currentHealth = 10; } public void draw(Canvas c, int x, int y) { if(owner == null) c.drawRect(x-20, y-20, x+20, y+20, Player.neutralColor); else c.drawRect(x-20, y-20, x+20, y+20, owner.getColor()); } }