Skip to content

Commit

Permalink
Switch keylisteners over to new-style classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Oct 18, 2015
1 parent 9c62e24 commit b984e39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fofix/core/Input.py
Expand Up @@ -40,7 +40,7 @@
from fofix.core import Player
from fofix.core import Config

class KeyListener:
class KeyListener(object):
def keyPressed(self, key, unicode):
pass

Expand All @@ -53,7 +53,7 @@ def lostFocus(self):
def exitRequested(self):
pass

class MouseListener:
class MouseListener(object):
def mouseButtonPressed(self, button, pos):
pass

Expand All @@ -63,7 +63,7 @@ def mouseButtonReleased(self, button, pos):
def mouseMoved(self, pos, rel):
pass

class SystemEventListener:
class SystemEventListener(object):
def screenResized(self, size):
pass

Expand Down

0 comments on commit b984e39

Please sign in to comment.