コード例 #1
0
double
CombatGroup::GetNextJumpTime() const
{
	double t = 0;

	ListIter<CombatUnit> unit = ((CombatGroup*) this)->units;
	while (++unit)
	if (unit->GetNextJumpTime() > t)
	t = unit->GetNextJumpTime();

	return t;
}