import java.awt.Color;
import java.util.Enumeration;

public class Turtle extends AffinityWalker {
 
    public Turtle() {
    }
    
    public Color getColor () {
        if (GetinTurn()==true) {
            return Color.green;
        }
        else {
            return Color.yellow;
        }
    }
    public boolean someoneIlike(Object neighbor) {
	if (neighbor instanceof Turtle) {
		return true;
	}
	else {
		return false;
	}
    }

}