AiTest/Map.cs
Download
aitest.zip
(11.27 KB | 19 June 2010 )
Sample project for implementing the AI of the Butterfly and Firefly sprites of the Boulderdash arcade game.
Donate
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Contents of aitest.zip/AiTest/Map.cs
using System.Drawing;
namespace AiTest
{
class Map
{
#region Public Constructors
public Map(Size size)
{
this.Size = size;
this.Tiles = new Tile[size.Width, size.Height];
}
#endregion Public Constructors
#region Public Properties
public Size Size { get; set; }
public Tile[,] Tiles { get; set; }
#endregion Public Properties
}
}
