/* Copyright 2001 Michael R. Wick */ package Strategies; import java.awt.Canvas; import java.awt.Dimension; import java.awt.Point; import java.awt.Color; import java.awt.Graphics; import Shapes.*; import java.util.*; import Util.*; public abstract class ShapeMutationStrategy { protected static Randomizer r = new Randomizer(); protected int width; protected Point origin; public ShapeMutationStrategy(int w) { width = w; origin = new Point( width /2 , width / 2); } public abstract void mutate( Shape s ); }