SetCurrentRandom() public method

public SetCurrentRandom ( int nValue ) : void
nValue int
return void
Exemplo n.º 1
0
 private void Action_Random_Init(ActionInfo info, PlayerObject play)
 {
     String[] option = info.param.Split(' ');
     int min = Convert.ToInt32(option[0]);
     int max = Convert.ToInt32(option[1]);
     play.SetCurrentRandom(IRandom.Random(min, max));
 }