Re: DynamicVectorClass problems [message #453976 is a reply to message #453975] |
Sat, 10 September 2011 15:14 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma:
|
General (1 Star) |
|
|
halo2pac wrote on Sat, 10 September 2011 15:07 | ah, I see.
Also it is requiring that I use a default constructor, which I do not want the default constructor because apparently it is setting my integers to integer.max.
Is there a way around this?
I am trying to do a simple class to store player information.. so that if they disconnected and rejoin they don't loose some levels/powerups/ect. Which requires maintaining a custom list of player data.
|
The default constructor isn't setting them to anything. You do need to provide a constructor and have it set the values to whatever you want the defaults to be.
|
|
|