add Horizontal and Vertical constraint classes

This commit is contained in:
Josh Holtrop committed 2011-03-28 15:37:47 -04:00
1 parent f1282e6cb6
commit 4932447df9
2 files changed
+12

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
from Constraint import Constraint
class Horizontal(Constraint):
def __init__(self, shape):
self.shape = shape
+6
View File
@@ -0,0 +1,6 @@
from Constraint import Constraint
class Vertical(Constraint):
def __init__(self, shape):
self.shape = shape