Saving data between rounds

Jump to navigation Jump to search

Saving data between rounds

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

Ultimatebuster21: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.

Voidious21:55, 6 October 2011
 

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:Main Page/Saving data between rounds/reply (2).