X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=tabakrolletjie%2Fscenes%2Fbase.py;h=71f7d6ccc3d2615700e4be37c1d4a4e008d6be76;hb=c334c4c919954bfe455a164074e06aca0ab10428;hp=3b0f60a8ff1e019a615f211ec88d3f34aa6ba987;hpb=fc5270a33b3765154fb1e737414197e278eb1e52;p=tabakrolletjie.git diff --git a/tabakrolletjie/scenes/base.py b/tabakrolletjie/scenes/base.py index 3b0f60a..71f7d6c 100644 --- a/tabakrolletjie/scenes/base.py +++ b/tabakrolletjie/scenes/base.py @@ -1,5 +1,6 @@ """ Base scene class. """ + class BaseScene(object): def enter(self, gamestate): """ Enter the scene. """ @@ -12,3 +13,6 @@ class BaseScene(object): def render(self, screen, gamestate): """ Render the scene. """ + + def tick(self, gamestate): + """ Update the world based on time """