using Microsoft.Xna.Framework.Graphics; /** * A hole dug by the elephant in Pick up the Peanuts. * * @author Jim Glenn * @version 0.1 1/21/2009 */ namespace Peanuts { public class Hole : Sprite { /** * The default size of a hole. */ public const double DefaultSize = 0.01; /** * Creates a new hole at the given position. The hole will be black. * * @param initX an x-coordinate within the world this hole will be in * @param initY a y-coordinate within the world this hole will be in */ public Hole(double initX, double initY) : base(initX, initY, DefaultSize, Color.Black) { } } }