Ejemplo n.º 1
0
 public RectChangeState(ITileWorld parent, Rect affectedRect, IFeatureResolver applicableFeatures) : base(parent)
 {
     AffectedRect       = affectedRect;
     ApplicableFeatures = applicableFeatures;
     _data    = new int[affectedRect.Height, affectedRect.Width];
     _changed = new bool[affectedRect.Height, affectedRect.Width];
 }
 protected TransformableChangeStateBase(ITileWorld parent) : base(parent)
 {
 }
Ejemplo n.º 3
0
 public Tile(ushort x, ushort y, ITileWorld world) : this(new Coordinate(x, y), world)
 {
 }
Ejemplo n.º 4
0
 public Tile(Coordinate coord, ITileWorld world)
 {
     Coordinate = coord;
     World      = world;
 }
Ejemplo n.º 5
0
 protected ChangeStateBase(ITileWorld parent)
 {
     Parent = parent;
 }