Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/g/e/ges-python-HEAD/Ai/Tasks/common.py   ges-python(Download)
        # If we have a memory, try to find ammo for our current weapon
        if memory is not None:
            weap_memories = memory.FindMemoriesByType( Memory.TYPE_WEAPON )
            for w in weap_memories:
                assert isinstance( w, Memory.Memory )
        # If we have a memory, try to find the best weapon we remember
        if memory is not None:
            weap_memories = memory.FindMemoriesByType( Memory.TYPE_WEAPON )
            for m in weap_memories:
                assert isinstance( m, Memory.Memory )