forked from s464965/WMICraft
poprawki field.py
This commit is contained in:
parent
c927bab887
commit
c75299e152
@ -19,3 +19,5 @@ class Field(pygame.sprite.Sprite):
|
||||
|
||||
def step_onto(self, obj): # ustawia objekt na srodku pola
|
||||
obj.rect = obj.clamp(self.rect)
|
||||
self.busy = True
|
||||
obj.update()
|
||||
|
Loading…
Reference in New Issue
Block a user