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

Public Member Functions | List of all members
HasSamePlayerAndTypeAs Class Reference

#include <unit_find.h>

Inheritance diagram for HasSamePlayerAndTypeAs:
CUnitFilter

Public Member Functions

 HasSamePlayerAndTypeAs (const CUnit &unit)
 
 HasSamePlayerAndTypeAs (const CPlayer &_player, const CUnitType &_type)
 
bool operator() (const CUnit *unit) const
 
- Public Member Functions inherited from CUnitFilter
bool operator() (const CUnit *unit) const
 

Constructor & Destructor Documentation

◆ HasSamePlayerAndTypeAs() [1/2]

HasSamePlayerAndTypeAs::HasSamePlayerAndTypeAs ( const CUnit unit)
inlineexplicit

◆ HasSamePlayerAndTypeAs() [2/2]

HasSamePlayerAndTypeAs::HasSamePlayerAndTypeAs ( const CPlayer _player,
const CUnitType _type 
)
inline

Member Function Documentation

◆ operator()()

bool HasSamePlayerAndTypeAs::operator() ( const CUnit unit) const
inline

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.