From 1754a1f4511ef52f0a093dd0f9915196bd4261e7 Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Thu, 25 Nov 2010 22:26:52 -0500 Subject: Renaming LayoutEngine to PixelAssembler --- layouts/LineLayout.py | 4 ++-- layouts/ZigzagLayout.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'layouts') diff --git a/layouts/LineLayout.py b/layouts/LineLayout.py index 3a8b747..34f5e36 100644 --- a/layouts/LineLayout.py +++ b/layouts/LineLayout.py @@ -1,5 +1,5 @@ -from operationscore.LayoutEngine import * +from operationscore.PixelAssembler import * #Simple layout class that simply makes a line of LEDs -class LineLayout(LayoutEngine): +class LineLayout(PixelAssembler): def layoutFunc(self, lastLocation): return (lastLocation[0]+self.argDict['spacing'], lastLocation[1]) diff --git a/layouts/ZigzagLayout.py b/layouts/ZigzagLayout.py index 26b27d8..221571c 100644 --- a/layouts/ZigzagLayout.py +++ b/layouts/ZigzagLayout.py @@ -1,4 +1,4 @@ -from operationscore.LayoutEngine import * +from operationscore.PixelAssembler import * import pdb #Slightly more complex layout class that makes a zig-Zag Led Pattern #Inheriting classes must specify zigLength, the length in lights of a of a zig @@ -9,7 +9,7 @@ import pdb # X-X-X-X # | # X-X-X-X etc. -class ZigzagLayout(LayoutEngine): +class ZigzagLayout(PixelAssembler): def initLayout(self): if not 'zigLength' in self.argDict: raise Exception('zigLength must be defined in argDict') -- cgit v1.2.3