Is it a good practice to have method variations just for event-registering situations?

I hope you find this article helpful.

if:
    Agent := GetPlayspace().GetPlayers()[0]
then:
    SwitchDevice.ToggleState(Agent)
1 Like