enumeration + random in array
#1

why cant we do:

Код:
enum e_Mode {
e_Mode_Spawn1[3],
e_Mode_Spawn2[3],
e_Mode_Spawn3[3],
}

static array[2][e_Mode];

array[0][e_Mode_Spawn1 + random(3)]
any valid reason
Reply


Messages In This Thread
enumeration + random in array - by xMoBi - 29.06.2018, 05:50
Re: enumeration + random in array - by NaS - 29.06.2018, 07:48
Re: enumeration + random in array - by CodeStyle175 - 29.06.2018, 08:14

Forum Jump:


Users browsing this thread: 2 Guest(s)