Turn based game turn order

Feb 14, 2013 at 2:23am
How would one cycle through a turn order in a turn-based game? I was thinking an array of every creature (including the player) and have a pointer to the array++ after the turn, but I couldn't put all the objects into an array.
Feb 14, 2013 at 2:30am
That sounds fine to me.

but I couldn't put all the objects into an array.


Why not?
Feb 14, 2013 at 2:31am
I couldn't figure out how to put them all in an array. There's a player class and a creature class who don't inherit a base class. And you have to have a data type for the array which the data meets and there are two different datatypes.
Last edited on Feb 14, 2013 at 3:38am
Topic archived. No new replies allowed.