diff options
Diffstat (limited to 'LineLayout.py')
-rw-r--r-- | LineLayout.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/LineLayout.py b/LineLayout.py new file mode 100644 index 0000000..f5cb5ce --- /dev/null +++ b/LineLayout.py @@ -0,0 +1,5 @@ +from LayoutEngine import LayoutEngine +#Simple layout class that simply makes a line of LEDs +class LineLayout(LayoutEngine): + def layoutFunc(self, lastLocation): + return (lastLocation[0]+self.argDict['spacing'], lastLocation[1]) |