Changeset 126:7b0aafbcc971
Legend:
- Unmodified
- Added
- Removed
-
engine.py
r122 r126 €а 17 17 return€а 18 18 def redraw(self, offset, c_size):€а 19 €а €а20 19 x0=offset[0] + self.x*c_size€а 21 20 y0=offset[1] + self.y*c_size€а тАж тАж €а 49 48 return False€а 50 49 return True€а €а 50 €а €а 51 def __ne__(self, pattern):€а €а 52 return not self == pattern€а €а 53 €а 51 54 def clear(self):€а 52 55 self.snake = None€а
Note: See TracChangeset
for help on using the changeset viewer.