diff --git a/TestGame/TestGame.cs b/TestGame/TestGame.cs index 70f0c36..c8cb162 100644 --- a/TestGame/TestGame.cs +++ b/TestGame/TestGame.cs @@ -115,7 +115,7 @@ public class TestGame : Game { if (Input.IsActionPressed("reload")) { - ResourceManager.Reload(); + // ResourceManager.Reload(); // _particleSystem!.RestartEmitter(_emitterId); } } diff --git a/Voile/GridSet.cs b/Voile/GridSet.cs index 9c18362..ab00cfd 100644 --- a/Voile/GridSet.cs +++ b/Voile/GridSet.cs @@ -7,15 +7,23 @@ namespace Voile; public class GridSet { - public float GridSize { get; } - public GridSet(float gridSize = 32.0f) + /// + /// The size of a cell of this . + /// + public float CellSize { get; } + public GridSet(float cellSize = 32.0f) { - GridSize = gridSize; + CellSize = cellSize; } + /// + /// Add an element to this . + /// + /// Position of the element in this . + /// Element to add. public void Add(Vector2 position, T child) { - var snap = Vector2.One * GridSize; + var snap = Vector2.One * CellSize; position = position.Snapped(snap); if (_values.TryGetValue(position, out var list)) @@ -28,10 +36,11 @@ public class GridSet } } - public void Remove(T child) - { - - } + /// + /// Removes an element from this . + /// + /// Element to remove. + public void Remove(T child) => throw new NotImplementedException(); private Dictionary> _values = new(); } \ No newline at end of file diff --git a/Voile/Source/Resources/ResourceManager.cs b/Voile/Source/Resources/ResourceManager.cs index 19a8005..55754b2 100644 --- a/Voile/Source/Resources/ResourceManager.cs +++ b/Voile/Source/Resources/ResourceManager.cs @@ -269,7 +269,6 @@ namespace Voile.Resources | NotifyFilters.CreationTime | NotifyFilters.DirectoryName | NotifyFilters.FileName - | NotifyFilters.LastAccess | NotifyFilters.LastWrite | NotifyFilters.Security | NotifyFilters.Size;