Bomba1 = new CBomba(1,0);
Bomba2 = new CBomba(1,1);
Bomba3 = new CBomba(1,2);
Bomba4 = new CBomba(1,3);
Bomba5 = new CBomba(1,4);
Personaje->Ingresar_Bomba(Bomba1);
Personaje->Ingresar_Bomba(Bomba2);
Personaje->Ingresar_Bomba(Bomba3);
Personaje->Ingresar_Bomba(Bomba4);
Personaje->Ingresar_Bomba(Bomba5);
it do what its supposed to do but i guess there is a better way to do it.
im using c++.net
sorry if something is wrongly spelled my english is not very good.
At least in C++ it is, C++\CLI is a completely different language and one that I am not personally familiar with. What you have here actually won't compile in C++ even if one were to take care of the missing class definition.