1
Fork 0

space vs tabs

This commit is contained in:
Jake Howard 2015-05-12 22:44:40 +01:00
parent 0bc944c284
commit 11ff4cd502

View file

@ -19,11 +19,11 @@ class Shooter(pygame.sprite.Sprite):
self.powerup = ""
def set_position(self,x,y):
self.rect.x, self.rect.y = x,y
self.rect.x, self.rect.y = x, y
def move(self, value):
self.rect.x += value
self.rect.clamp_ip(self.window_rect)
self.rect.x += value
self.rect.clamp_ip(self.window_rect)
def update(self):
self.image.fill(self.colour)