[RESOLVED] Quick Question for variables
In my program, I'd like to have variables that contain the "stats" for a few different things in my program.
At the moment I would use
Actionscript Code:
var enemy1Health = 100;
var enemy1Speed = 5;
var enemy2Health = 150;
var enemy2Speed = 3;
but that would be annoying to access through the rest of my code
I'm not too knowledgeable of data types, so what type of variable should I use to store all the data in one variable, instead of having lots of seperate integer variables.