$treeview $search $mathjax
Stratagus  2.2.7
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

ResourceUnitFinder Class Reference

List of all members.


unit_find.cpp - The find/select for units.

VisitResult Visit (TerrainTraversal &terrainTraversal, const Vec2i &pos, const Vec2i &from)

Public Member Functions

 ResourceUnitFinder (const CUnit &worker, const CUnit *deposit, int resource, int maxRange, bool check_usage, CUnit **resultMine)

Classes

struct  ResourceUnitFinder_Cost

Constructor & Destructor Documentation

ResourceUnitFinder::ResourceUnitFinder ( const CUnit worker,
const CUnit deposit,
int  resource,
int  maxRange,
bool  check_usage,
CUnit **  resultMine 
) [inline]


Member Function Documentation

VisitResult ResourceUnitFinder::Visit ( TerrainTraversal terrainTraversal,
const Vec2i pos,
const Vec2i from 
)


The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.