def invalidateGold(self): """ Updates states of nodes for which changed their access to buy after updates value of gold. :return: [(<int:vehicle compact descriptor>, <new state>), ... ] """ return self._invalidateMoney(filter(lambda item: NODE_STATE.isBuyForGold(item['state']), self._getNodesToInvalidate()))
def invalidateGold(self): """ Updates states of nodes for which changed their access to buy after updates value of gold. :return: [(<int:vehicle compact descriptor>, <new state>), ... ] """ return self._invalidateMoney( filter(lambda item: NODE_STATE.isBuyForGold(item['state']), self._getNodesToInvalidate()))
def invalidateGold(self): return self._invalidateMoney( filter(lambda item: NODE_STATE.isBuyForGold(item['state']), self._getNodesToInvalidate()))
def invalidateGold(self): return self._invalidateMoney(filter(lambda item: NODE_STATE.isBuyForGold(item['state']), self._getNodesToInvalidate()))
def invalidateGold(self): return self._invalidateMoney([ item for item in self._getNodesToInvalidate() if NODE_STATE.isBuyForGold(item.getState()) ])