Merge pull request 'field' (#15) from field into master
Reviewed-on: #15
This commit is contained in:
commit
9b6f9ea003
@ -19,3 +19,5 @@ class Field(pygame.sprite.Sprite):
|
|||||||
|
|
||||||
def step_onto(self, obj): # ustawia objekt na srodku pola
|
def step_onto(self, obj): # ustawia objekt na srodku pola
|
||||||
obj.rect = obj.clamp(self.rect)
|
obj.rect = obj.clamp(self.rect)
|
||||||
|
self.busy = True
|
||||||
|
obj.update()
|
||||||
|
Loading…
Reference in New Issue
Block a user