protected AbstractGeometry(int x, int y, string inputColour) { this.centre = new int[2] { x, y }; this.colour = (GeometryColours)Enum.Parse(typeof(GeometryColours), inputColour); }
protected AbstractGeometry(string inputColour) { this.colour = (GeometryColours)Enum.Parse(typeof(GeometryColours), inputColour); }