/// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
 public HeadPiece(Texture2D headTexture, Texture2D standardPiece, Texture2D tailTexture, Game1 game)
     : base(headTexture, headTexture, game)
 {
     standardTexture = standardPiece;
     standardTailTexture = tailTexture;
     this.game = game;
     dead = false;
 }
 public CowPiece(Texture2D texture, Texture2D tailTexture, Game1 game)
 {
     this.texture = texture;
     this.tailTexture = tailTexture;
     headPosition = startPoint;
     nextPiece = null;
     isTail = false;
     location = startPoint;
     this.game = game;
 }
 public MapManager(int size, MapTextures mapTex, CowPiece head, Game1 game)
 {
     this.size = size;
     map = new Square[size,size];
     this.grassTexture = mapTex.grassTexture;
     this.hedgeTexture = mapTex.hedgeTexture;
     this.hedgeVertTexture = mapTex.hedgeVertTexture;
     this.hedgeCornerTexturetl = mapTex.hedgeCornerTexturetl;
     this.hedgeCornerTexturetr = mapTex.hedgeCornerTexturetr;
     this.hedgeCornerTexturebl = mapTex.hedgeCornerTexturebl;
     this.hedgeCornerTexturebr = mapTex.hedgeCornerTexturebr;
     this.hedgeCrossTexture = mapTex.hedgeCrossTexture;
     this.foodTexture = mapTex.foodTexture;
     headPiece = head;
     this.game = game;
     createMap();
 }
 public CowPiece(Texture2D texture, Texture2D tailTexture, bool isTail, Game1 game)
     : this(texture, tailTexture, game)
 {
     this.isTail = isTail;
 }