Esempio 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)
 {
 }
Esempio n. 3
0
 public Tile(ushort x, ushort y, ITileWorld world) : this(new Coordinate(x, y), world)
 {
 }
Esempio n. 4
0
 public Tile(Coordinate coord, ITileWorld world)
 {
     Coordinate = coord;
     World      = world;
 }
Esempio n. 5
0
 protected ChangeStateBase(ITileWorld parent)
 {
     Parent = parent;
 }