def start_simulation(self): for k, p in self.players.items(): p.ship = Ship(id_=self.get_next_entity_id(), player_id=p.room_player_id) p.ship.bind(on_shoot=self.add_projectile) self.ships.append(p.ship) Clock.schedule_inderval(self.update, 1/60)# hardcoded