-OOP限定-プログラム設計相談室
■ このスレッドは過去ログ倉庫に格納されています
0794デフォルトの名無しさん
2012/01/15(日) 13:55:58.31const Kind gundom;
NodeSet set;
set.Register( new NodeActionA(), &tank, &gundom );
Unit unit_a( &gundom ), unit_b( &tank );
set.Conflict( unit_a, unit_b ).ActionDriven();
ノード制御ならこの3つを増やすだけだから楽だぞ
>const Kind xxxx;
>set.Register( new NodeActionA(), &tank, &gundom );
>new NodeActionA()
■ このスレッドは過去ログ倉庫に格納されています