I want to make it possible to access specific members of the Enemies class by using a list but it seems its imspossible as it gives error: no match for 'operator[]' in [enemyList[i]'.
So my question is how can i make it possible to change different enemy class objects health, textures and other members of the class ? (sprite, texture, etc.).