3 ms·
Looking at the code you could do getCharacter() for a Space returned by look()/listen()/feel() to figure out what type of enemy it is: https://github.com/olisti
by xirzec 8y ago
Looking at the code you could do getCharacter() for a Space returned by look()/listen()/feel() to figure out what type of enemy it is: https://github.com/olistic/warriorjs/blob/master/packages/warriorjs-core/src/Space.js#L138 https://github.com/olistic/warriorjs/blob/master/packages/wa...