forked from kaka3286/RoadRunner
15 lines
449 B
C#
15 lines
449 B
C#
using Gley.UrbanSystem.Internal;
|
|
|
|
namespace Gley.TrafficSystem.Internal
|
|
{
|
|
public class GridEvents
|
|
{
|
|
public delegate void ActiveGridCellsChanged(CellData[] activeCells);
|
|
public static event ActiveGridCellsChanged OnActiveGridCellsChanged;
|
|
public static void TriggerActiveGridCellsChangedEvent(CellData[] activeCells)
|
|
{
|
|
OnActiveGridCellsChanged?.Invoke(activeCells);
|
|
}
|
|
}
|
|
}
|