From: Stefano Rivera Date: Sun, 11 May 2014 21:00:08 +0000 (+0200) Subject: Remove boilerplate overrides X-Git-Tag: 0.1~382 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=936bbec1d3dcf3109a4e4c1d08f322e8938dc9fe;p=naja.git Remove boilerplate overrides --- diff --git a/naja/events.py b/naja/events.py index e34f740..1b57ee0 100644 --- a/naja/events.py +++ b/naja/events.py @@ -32,24 +32,12 @@ class SceneChangeEvent(NajaEvent): class QuitGameEvent(NajaEvent): TYPE = "QUIT_GAME" - @classmethod - def post(cls): - super(QuitGameEvent, cls).post() - class InvalidateTheWorld(NajaEvent): # This is used to signal to all the widgets that the world has changed # and cached state may need to be recreated TYPE = "INVALIDATE" - @classmethod - def post(cls): - super(InvalidateTheWorld, cls).post() - class SelectEvent(NajaEvent): TYPE = "SELECT" - - @classmethod - def post(cls): - super(SelectEvent, cls).post()