slop of code
intermediate push so logan can have access to reset function
This commit is contained in:
@@ -97,7 +97,6 @@ public class LogicGrid
|
||||
x = x,
|
||||
y = y
|
||||
});
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,4 +132,16 @@ public class LogicGrid
|
||||
{
|
||||
return this.cellSize;
|
||||
}
|
||||
|
||||
public void reset()
|
||||
{
|
||||
gridArray = new int[width, height];
|
||||
|
||||
if (OnGridValueChanged != null)
|
||||
OnGridValueChanged(this, new OnGridValueChangedEventArgs
|
||||
{
|
||||
x = -1,
|
||||
y = -1
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user