I fixed the flickering! And I have an interior!

This commit is contained in:
Cory
2024-05-21 19:11:03 -04:00
parent 33c496ac46
commit e7f8ec11c5
8 changed files with 7 additions and 20 deletions

View File

@@ -28,10 +28,6 @@ class Cursor:
if game.on_board(new_position):
if game.is_empty(new_position):
self.position = new_position
def hide(self):
'''
This is called because I was calling this method based on an agent's location, but I don't need the
cursor to do anything.
'''
pass
else:
game.get_agents_by_position()[new_position][0].display = False
self.position = new_position