Seeding random numbers?
So I'm working on a simple game that will draw random cards out of a pack, I have a dedicated card class that holds numerical values for the value and suite that will link in to a array that contains word values for each. I am trying to create a class that will randomize the card whenever a new card is drawn based on the time. At the moment i have this:
publicvoid randomiseCard (){
Date Now =new Date ();// create a new date object
Random NewCard =new Random ();// create new random number "NewCard"
NewCard.setSeed (Now.getTime());// set the seed for NewCard with the time
iCardValue = NewCard.nextInt(12);// generate a new number between 1 & 12 for the value
iCardSuite = NewCard.nextInt(4);// do the same for the suits
String sValue = wordvalues[iCardValue];// Look up value and assign a string to it
String sSuite = suits[iCardSuite];// and the same for the suits
}
This will generate a random number first time its called but it won't make a new random number after that? Am i missing something blindingly obvious here?

