diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-10-07 23:34:16 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-10-23 19:44:51 -0400 |
commit | 01aaa904c8a3fea7b558155d99ac17a9c4a83064 (patch) | |
tree | 36696176c04a56071a36339ac97e6768790c7b49 /2d/private | |
parent | 0f0add2164f6b01f79d7ba486316262de614a89d (diff) |
Add error handling in game loop.
Print backtrace and pause game when exceptions occur. This way the
developer can fix the error and resume the game rather than the game
crashing, forcing the developer to restart the game. The REPL remains
active when the game is paused, of course.
Diffstat (limited to '2d/private')
0 files changed, 0 insertions, 0 deletions