Archive Browser
Download LangtonsAntSimulator.zip version 2.0.0.0, last updated 08/03/2011 (366.76 KB)
Download- md5: 347f7d65e83267424d0afa1dffdaae45
using System.Drawing;
namespace LangontsAntSimulator
{
public class Ant : IActor
{
#region Private Member Declarations
private Direction _facing;
private Point _location;
private Point _previousL;
#endregion Private Member Declarations
#region Public Properties
public Direction Facing
{
get { return _facing; }
set { _facing = value; }
}
public Point Location
{
get { return _location; }
set
{
this.PreviousLocation = this.Location;
_location = value;
}
}
public Point PreviousLocation
{
get { return _previousL; }
set { _previousL = value; }
}
#endregion Public Properties
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate