package com.medievaltech.unit; import java.util.*; import android.graphics.Paint; public class Player { private String name; private Paint color; private ArrayList units; public Player(String name, Paint color) { this.name = name; this.color = color; units = new ArrayList(); } public String getName() { return name; } public Paint getColor() { return color; } public ArrayList getControlledUnits() { return units; } public void addUnit(Unit u) { units.add(u); } }