test
This commit is contained in:
parent
36d6b63c31
commit
75c076f03f
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class InGame(State):
|
||||||
center.mod(len(centers))
|
center.mod(len(centers))
|
||||||
|
|
||||||
def draw(e):
|
def draw(e):
|
||||||
pos = e.components[Position] - center
|
pos = center - e.components[Position]
|
||||||
if (-console.width//2 <= pos.x < console.width//2\
|
if (-console.width//2 <= pos.x < console.width//2\
|
||||||
and -console.height//2 <= pos.y < console.height//2):
|
and -console.height//2 <= pos.y < console.height//2):
|
||||||
graphic = e.components[Graphic]
|
graphic = e.components[Graphic]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue