I’d like to save the actions for my characters easily in some sort of container. Since all my characters are performing the same actions(at least some of them), I’d like to store these actions in an array where they can be read from easily. Is this already implemented somewhere? I was about to code one up, but figured I should ask first.
I’m new to game programming, so I’m unsure if this is bad design or if I’m doing something wrong.
Tell me a better alternative if you have one!