I was coding class that will give users multiple choices and based on that do some action and continue with event."Something similar in RPG-s when you have option what to talk with npc and what you said will affect later options"
I was trying to use tree structure here but i had problems making branches connect.
So what kind of data structure should i choose or make some myself? I dont have options for pointers in this language.
Any tips are welcome!