Closed yuriyoleynikov closed 7 years ago
class GameHandler
{
// any state data
public void AddEvent(GameEvent e)
{
((dynamic)this).On((dynamic)e);
}
private void On(DrawEvent e)
{
...
}
private void On(ServeFailEvent e)
{
...
}
}
Addresses #1