shockerId

This commit is contained in:
2024-01-17 19:28:07 +01:00
parent 7f4232ef54
commit 431f4f52ad
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,8 @@ public abstract class Shocker
protected readonly IntensityRange IntensityRange;
protected readonly DurationRange DurationRange;
protected readonly ILogger? Logger;
private static int _shockerNumber = 0;
public int ShockerId = _shockerNumber++;
public void Control(ControlAction action, string? shockerId = null, int? intensity = null, int? duration = null)
{