Ejemplo n.º 1
0
 public CellChangedEventArgs(CellMetrics metrics, Point location, T oldValue, T value)
 {
     Location = location;
     metrics.GetCell(location, out Cell);
     OldValue = oldValue;
     Value    = value;
 }
Ejemplo n.º 2
0
 public CellChangedEventArgs(CellMetrics metrics, int cell, T oldValue, T value)
 {
     Cell = cell;
     metrics.GetLocation(cell, out Location);
     OldValue = oldValue;
     Value    = value;
 }
Ejemplo n.º 3
0
 public OccupierSet(CellMetrics metrics)
 {
     this.metrics  = metrics;
     occupierCells = new T[metrics.Height, metrics.Width];
 }
Ejemplo n.º 4
0
 public OccupierRemovedEventArgs(CellMetrics metrics, Point location, T occupier)
 {
     Location = location;
     metrics.GetCell(location, out Cell);
     Occupier = occupier;
 }
Ejemplo n.º 5
0
 public OccupierRemovedEventArgs(CellMetrics metrics, int cell, T occupier)
 {
     Cell = cell;
     metrics.GetLocation(cell, out Location);
     Occupier = occupier;
 }
Ejemplo n.º 6
0
 public OverlapperSet(CellMetrics metrics)
 {
     this.metrics = metrics;
 }