Note that there are some explanatory texts on larger screens.

plurals
  1. USCindeselia
    primarykey
    data
    text
    plurals
    1. COYou're right that I was confused, and I am grateful you pointed out how to add viewcontrollers straight from the object library. However, I already built several xib interfaces, and as short-sighted as that was, the question is how I can carry that work into the storyboard without starting from scratch. I don't want to waste the work. I could copy the main View object from each xib, and paste, but I think the connections (outlets & actions) go away for the pasted version. Is there any way to just put my xib (with all its connections) into my storyboard?
      singulars
    2. COSo there are definitely "turns" - each player selects moves in each turn, without knowing actually which move will execute first; part of the fun is having different speed stats on each character to determine order of execution. But there are definitely turns. Most people describe RPG battles as turn-based games. It's just a matter of not forcing oneself into Apple's model of having asynchronous move selection; if we did that, then players would have to wait too long for the battle to unfold. There is no need or dependence on one player finishing selection of a move before the other begins.
      singulars
    3. COYes, Pop() is getting sticky because it blurs the line between caller ownership and container ownership. I can't seem to write it so that the container frees all the memory it allocates. I probably shouldn't support such a function, and limit the container's interface to memory it clearly owns, not letting it transfer ownership in confusing ways.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload