Thread history

From Talk:Main Page
Viewing a history listing
Jump to navigation Jump to search
Time User Activity Comment
20:56, 6 October 2011 Skotty (talk | contribs) New reply created (Reply to Saving data between rounds)
20:55, 6 October 2011 Voidious (talk | contribs) New reply created (Reply to Saving data between rounds)
20:45, 6 October 2011 Ultimatebuster (talk | contribs) New thread created  

Saving data between rounds

Can I save data between rounds in the static variables of other classes other than my main robot class?

Ultimatebuster20:45, 6 October 2011

Yep. Anything that's static will stick around in any class.

Personally, I model most of my stuff so the main robot class has objects that are static (gun, movement, etc) and then everything else is non-static in those classes, but you can model it however you'd like.

Voidious20:55, 6 October 2011
 

Yes.

Skotty20:56, 6 October 2011