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