INNER CODE UNIT · Python
set_tick
TacticalMetaphysics/Lisien · elide/elide/app.py:302
def set_tick(self, t):
"""Set my tick to the given value, cast to an integer."""
self.tick = int(t)
@logwrap
def set_turn(self, t):
"""Set the turn to the given value, cast to an integer"""
self.turn = int(t)
@logwrap
def select_character(self, char: CharacterProxy):
"""Change my ``character`` to the selected character object if they
aren't the same.
"""
if char == self.character:
return
if char.name not in self.mainscreen.graphboards: