Skip to content

Commit 833278c

Browse files
freezyjsm174
authored andcommitted
api: Update to upstream changes.
1 parent cb869d0 commit 833278c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

VisualPinball.Engine.PinMAME.Unity/Runtime/PinMameGamelogicEngine.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public GamelogicEngineLamp[] RequestedLamps {
8484
public event EventHandler<SwitchEventArgs2> OnSwitchChanged;
8585
public event EventHandler<LampEventArgs> OnLampChanged;
8686
public event EventHandler<LampsEventArgs> OnLampsChanged;
87-
public event EventHandler<LampColorEventArgs> OnLampColorChanged;
8887
public event EventHandler<RequestedDisplays> OnDisplaysRequested;
8988
public event EventHandler<DisplayFrameData> OnDisplayFrame;
9089
public event EventHandler<EventArgs> OnStarted;
@@ -657,11 +656,6 @@ public void SetLamp(string id, float value, bool isCoil = false, LampSource sour
657656
OnLampChanged?.Invoke(this, new LampEventArgs(id, value, isCoil, source));
658657
}
659658

660-
public void SetLamp(string id, Color color)
661-
{
662-
OnLampColorChanged?.Invoke(this, new LampColorEventArgs(id, color));
663-
}
664-
665659
public LampState GetLamp(string id)
666660
{
667661
return _player != null && _player.LampStatuses.ContainsKey(id) ? _player.LampStatuses[id] : LampState.Default;

0 commit comments

Comments
 (0)