From 936bbec1d3dcf3109a4e4c1d08f322e8938dc9fe Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sun, 11 May 2014 23:00:08 +0200 Subject: [PATCH] Remove boilerplate overrides --- naja/events.py | 12 ------------ 1 file changed, 12 deletions(-) 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() -- 2.34.1