diff options
author | Russell Cohen <rcoh@mit.edu> | 2010-11-25 22:26:52 -0500 |
---|---|---|
committer | Russell Cohen <rcoh@mit.edu> | 2010-11-25 22:26:52 -0500 |
commit | 1754a1f4511ef52f0a093dd0f9915196bd4261e7 (patch) | |
tree | a1f07a8603b67c56120eac938dca424b80f5683a /layouts | |
parent | 5783d6336f014c05e0e46d7bc35533e70b280582 (diff) |
Renaming LayoutEngine to PixelAssembler
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/LineLayout.py | 4 | ||||
-rw-r--r-- | layouts/ZigzagLayout.py | 4 |
2 files changed, 4 insertions, 4 deletions
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') |