Red can go on bar as well now
This commit is contained in:
parent
716413e2b6
commit
1d9c94896d
|
@ -153,7 +153,7 @@ class Board_painter:
|
||||||
if chosen == 0:
|
if chosen == 0:
|
||||||
x = 525
|
x = 525
|
||||||
y = 350
|
y = 350
|
||||||
elif chosen == 26:
|
elif chosen == 25:
|
||||||
x = 525
|
x = 525
|
||||||
y = 50
|
y = 50
|
||||||
else:
|
else:
|
||||||
|
@ -277,7 +277,7 @@ class Board_painter:
|
||||||
# Have some check if we're looking for either rects in the bottom or top,
|
# Have some check if we're looking for either rects in the bottom or top,
|
||||||
# instead of having both here
|
# instead of having both here
|
||||||
neg_tester = [rect.collidepoint(x,y-30) for rect in enemy_rects]
|
neg_tester = [rect.collidepoint(x,y-30) for rect in enemy_rects]
|
||||||
pos_tester = [rect.collidepoint(x,y+40) for rect in enemy_rects]
|
pos_tester = [rect.collidepoint(x,y+30) for rect in enemy_rects]
|
||||||
print("Neg tester:",neg_tester)
|
print("Neg tester:",neg_tester)
|
||||||
print("Pos tester:",pos_tester)
|
print("Pos tester:",pos_tester)
|
||||||
if any(neg_tester):
|
if any(neg_tester):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user