diff options
Diffstat (limited to 'src/components/life.py')
| -rw-r--r-- | src/components/life.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/components/life.py b/src/components/life.py index ad6d744..d0bb708 100644 --- a/src/components/life.py +++ b/src/components/life.py @@ -202,8 +202,8 @@ class Component(Component): elif shape == 'lilypad': drawer.pieslice(smallerShape, 290, 250, fill=self.color) - # Pac-Man - elif shape == 'pac-man': + # Pie + elif shape == 'pie': drawer.pieslice(outlineShape, 35, 320, fill=self.color) hX, hY = scale(50, self.pxWidth, self.pxHeight, int) # halfline @@ -297,12 +297,9 @@ class Component(Component): def slantLine(difference): return ( - (drawPtX + difference), - (drawPtY + self.pxHeight - qY) - ), - ( - (drawPtX + hX), - (drawPtY + hY) + (drawPtX + difference), (drawPtY + self.pxHeight - qY) + ), ( + (drawPtX + hX), (drawPtY + hY) ) drawer.line( |
