public String actionat(Coord c) {
	for (Part part : parts) {
	    if(c.isect(new Coord(part.x, part.y), new Coord(part.width(), part.height()))) {
		String action = null;
		if(part instanceof TextPart)
		{
		    TextPart tp = (TextPart) part;
		    action = tp.getAction(tp.charAt(c.x - part.x));
		}
		return action;
	    }
	}
	return null;
    }