]> git.cworth.org Git - empires-server/commitdiff
Add common handle_events code to the Game class
authorCarl Worth <cworth@cworth.org>
Sat, 30 May 2020 03:39:56 +0000 (20:39 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 30 May 2020 03:39:56 +0000 (20:39 -0700)
Again, putting code into the parent class to reduce duplication that
is in the Empires and TicTacToe classes. In Empires, there's a little
extra work to be done when a client connects, so we shadow the parent
function, call super.handle_events, and then do the rest that's
needed.


No differences found