Mercurial > touhou
comparison pytouhou/game/sprite.pyx @ 590:e15672733c93
Switch to Python 3.x instead of 2.7.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 30 Sep 2014 17:14:24 +0200 |
parents | dacdcca59b66 |
children | 98603f2c32b4 |
comparison
equal
deleted
inserted
replaced
589:0768122da817 | 590:e15672733c93 |
---|---|
55 self.corner_relative_placement = False | 55 self.corner_relative_placement = False |
56 self.frame = 0 | 56 self.frame = 0 |
57 | 57 |
58 # Cython treats unsigned char* variables as bytes, so we can’t use | 58 # Cython treats unsigned char* variables as bytes, so we can’t use |
59 # slicing here. | 59 # slicing here. |
60 for i in xrange(4): | 60 for i in range(4): |
61 self._color[i] = 255 | 61 self._color[i] = 255 |
62 | 62 |
63 | 63 |
64 property scale_speed: | 64 property scale_speed: |
65 def __get__(self): | 65 def __get__(self): |