_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          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
CUnitGroup Class Reference

Public Member Functions

 CUnitGroup ()
 
void init ()
 
bool isTainted () const
 
const std::vector< CUnit * > & getUnits () const
 
void add (CUnit &unit, unsigned int num)
 
void remove (CUnit &unit)
 

Detailed Description

Defines a group of units.

Constructor & Destructor Documentation

◆ CUnitGroup()

CUnitGroup::CUnitGroup ( )
inline

Member Function Documentation

◆ add()

void CUnitGroup::add ( CUnit unit,
unsigned int  num 
)
inline

◆ getUnits()

const std::vector<CUnit *>& CUnitGroup::getUnits ( ) const
inline

◆ init()

void CUnitGroup::init ( )
inline

◆ isTainted()

bool CUnitGroup::isTainted ( ) const
inline

◆ remove()

void CUnitGroup::remove ( CUnit unit)
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.