mac-comp127 / kilt-graphics

Graphics and UI library for learning software development principles in Java
https://mac-comp127.github.io/kilt-graphics/
2 stars 17 forks source link

Detect callbacks adding other callbacks #6

Open pcantrell opened 4 years ago

pcantrell commented 4 years ago

In the current comp127graphics architecture, it is almost always wrong to add a new event / animation callback while handling an existing one. Consider adding a warning, or even emitting an error, if callers do this.