... And no longer redundantly prints.
This commit is contained in:
parent
f11ad42bfc
commit
0124a76d42
|
@ -199,7 +199,6 @@ class Player(worldobject.WorldObject):
|
||||||
worldobject.WorldObject.update(self, e, t, dt)
|
worldobject.WorldObject.update(self, e, t, dt)
|
||||||
|
|
||||||
def draw(self, window):
|
def draw(self, window):
|
||||||
print(self.anim_root + '_' + self.anim, int(self.frame))
|
|
||||||
self.img = self.imgs[self.anim_root + '_' + self.anim][int(self.frame)]
|
self.img = self.imgs[self.anim_root + '_' + self.anim][int(self.frame)]
|
||||||
self.img.set_alpha(128)
|
self.img.set_alpha(128)
|
||||||
window.blit(self.img, (self.x - 32 - self.level.camera_x,
|
window.blit(self.img, (self.x - 32 - self.level.camera_x,
|
||||||
|
|
Loading…
Reference in New Issue