add Horizontal and Vertical constraint classes

This commit is contained in:
Josh Holtrop 2011-03-28 15:37:47 -04:00
parent f1282e6cb6
commit 4932447df9
2 changed files with 12 additions and 0 deletions

6
Horizontal.py Normal file
View File

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

6
Vertical.py Normal file
View File

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