From fd12e868bf726e9301b44ee86d06d14b1ffee907 Mon Sep 17 00:00:00 2001 From: 9and3r <9and3r@gmail.com> Date: Sat, 19 Jul 2014 22:13:08 +0200 Subject: [PATCH] Delete dynamic_background.py~ --- mopidy_touchscreen/dynamic_background.py~ | 25 ----------------------- 1 file changed, 25 deletions(-) delete mode 100644 mopidy_touchscreen/dynamic_background.py~ diff --git a/mopidy_touchscreen/dynamic_background.py~ b/mopidy_touchscreen/dynamic_background.py~ deleted file mode 100644 index eac73da..0000000 --- a/mopidy_touchscreen/dynamic_background.py~ +++ /dev/null @@ -1,25 +0,0 @@ -import random - -class DynamicBackground(): - - def __init__(self): - self.current=[0,0,0] - self.target=[0,0,0] - for x in range(0, 3): - self.target[x]=random.randint(0,255) - - def drawBackground(self,surface): - same = True - for x in range(0, 3): - if self.current[x]> self.target[x]: - self.current[x]=self.current[x]-1 - elif self.current[x]