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

#include <unittype.h>

Inheritance diagram for CBuildRestriction:
CBuildRestrictionAddOn CBuildRestrictionAnd CBuildRestrictionDistance CBuildRestrictionHasUnit CBuildRestrictionOnTop CBuildRestrictionSurroundedBy

Public Member Functions

virtual ~CBuildRestriction ()
 
virtual void Init ()
 
virtual bool Check (const CUnit *builder, const CUnitType &type, const Vec2i &pos, CUnit *&ontoptarget) const =0
 

Constructor & Destructor Documentation

◆ ~CBuildRestriction()

virtual CBuildRestriction::~CBuildRestriction ( )
inlinevirtual

Member Function Documentation

◆ Check()

virtual bool CBuildRestriction::Check ( const CUnit builder,
const CUnitType type,
const Vec2i pos,
CUnit *&  ontoptarget 
) const
pure virtual

◆ Init()

virtual void CBuildRestriction::Init ( )
inlinevirtual

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.