engine/actions/source/ActionCoordinator.cpp
// Get the cost of the next action - used to determine how much
// to increment the world's calendar by, among other things.
Get the cost of the next action - used to determine how much
to increment the world's calendar by, among other things.
Get the cost of the next action - used to determine how much to increment the world ' s calendar by among other things .
ActionCost ActionCoordinator::get_current_action_cost() const
{
  ActionCost next_action_cost;
  if (!creature_action_order.empty())
  {
    next_action_cost = creature_action_order.begin()->first;
  }
  return next_action_cost;
}
ActionCost ActionCoordinator :: get_current_action_cost ( ) const { ActionCost next_action_cost ; if ( ! creature_action_order . empty ( ) ) { next_action_cost = creature_action_order . begin ( ) -> first ; } return next_action_cost ; }
Get the cost of the next action - used to determine how much
to increment the world's calendar by, among other things.
Get the cost of the next action - used to determine how much to increment the world ' s calendar by among other things .