diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-12-05 16:11:18 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-12-05 16:11:18 (GMT) |
commit | 708687fb37db5d61ddcffc16199fc8130d07b2d1 (patch) | |
tree | cc9863471c4382f57eb46c1176361c143731daf0 /constants.py | |
parent | ecbd6044a274c8d308487005a7c847b0563dc4c3 (diff) |
adding constants
Diffstat (limited to 'constants.py')
-rw-r--r-- | constants.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/constants.py b/constants.py new file mode 100644 index 0000000..3e5b37f --- /dev/null +++ b/constants.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +#Copyright (c) 2009, Walter Bender + +#Permission is hereby granted, free of charge, to any person obtaining a copy +#of this software and associated documentation files (the "Software"), to deal +#in the Software without restriction, including without limitation the rights +#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +#copies of the Software, and to permit persons to whom the Software is +#furnished to do so, subject to the following conditions: + +#The above copyright notice and this permission notice shall be included in +#all copies or substantial portions of the Software. + +#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +#THE SOFTWARE. + +DECK = 108 +SELECTMASK = -1 +PLAYMASK = -2 +MATCHMASK = -3 +CARD_W = 75 +CARD_H = 125 + |