Removed image location variables, stored in textures now
This commit is contained in:
parent
74a440e2be
commit
2110f2217f
2 changed files with 0 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
IMAGE_LOCATION = "bullet.png"
|
|
||||||
|
|
||||||
|
|
||||||
class Bullet(pygame.sprite.Sprite):
|
class Bullet(pygame.sprite.Sprite):
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
IMAGE_LOCATION = "player.png"
|
|
||||||
|
|
||||||
|
|
||||||
class Shooter(pygame.sprite.Sprite):
|
class Shooter(pygame.sprite.Sprite):
|
||||||
def __init__(self, color=(30,0,150), width=64, height=64):
|
def __init__(self, color=(30,0,150), width=64, height=64):
|
||||||
|
|
Reference in a new issue