パラメータとして指示を出したいのですが:
execute_at_frame(int frame_number, <instruction>)
{
for(f = 1 ; f < F_MAX ; f++)
{
/* other instructions */
if (f == frame_number)
/* execute <instruction> */
/* other instructions */
}
}
- 呼び出しの1つのタイプ:
execute_at_frame(5,execute(42));
- 別の種類の呼び出し:
execute_at_frame(6,process());
それ(または同様のもの)は可能ですか?
前もって感謝します :-)