The web site for Flash ActionScript 3.0 game developers

 
         
   

Using Numbers

Hi,

Just wondered why numbers where used here for the last 4 insted of uints.

static const numPegs:uint = 5;
static const numColors:uint = 5;
static const numTries:uint = 10;
static const horizOffSet:Number = 30;
static const vertOffSet:Number = 60;
static const pegSpacing:Number = 30;
static const rowSpacing:Number = 30;

Thanks.



Copyright Gary Rosenzweig