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

Public Member Functions | Public Attributes | List of all members
CBuildRestrictionSurroundedBy Class Reference

#include <unittype.h>

Inheritance diagram for CBuildRestrictionSurroundedBy:
CBuildRestriction

Public Member Functions

 CBuildRestrictionSurroundedBy ()
 
virtual ~CBuildRestrictionSurroundedBy ()
 
virtual void Init ()
 
build.cpp - The units.
virtual bool Check (const CUnit *builder, const CUnitType &type, const Vec2i &pos, CUnit *&ontoptarget) const
 
- Public Member Functions inherited from CBuildRestriction
virtual ~CBuildRestriction ()
 

Public Attributes

int Distance
 
DistanceTypeType DistanceType
 
int Count
 
DistanceTypeType CountType
 
std::string RestrictTypeName
 
std::string RestrictTypeOwner
 
CUnitTypeRestrictType
 
bool CheckBuilder
 

Constructor & Destructor Documentation

◆ CBuildRestrictionSurroundedBy()

CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy ( )
inline

◆ ~CBuildRestrictionSurroundedBy()

virtual CBuildRestrictionSurroundedBy::~CBuildRestrictionSurroundedBy ( )
inlinevirtual

Member Function Documentation

◆ Check()

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

Check Surrounded By Restriction

Implements CBuildRestriction.

◆ Init()

virtual void CBuildRestrictionSurroundedBy::Init ( )
inlinevirtual

Reimplemented from CBuildRestriction.

Member Data Documentation

◆ CheckBuilder

bool CBuildRestrictionSurroundedBy::CheckBuilder

◆ Count

int CBuildRestrictionSurroundedBy::Count

◆ CountType

DistanceTypeType CBuildRestrictionSurroundedBy::CountType

◆ Distance

int CBuildRestrictionSurroundedBy::Distance

◆ DistanceType

DistanceTypeType CBuildRestrictionSurroundedBy::DistanceType

◆ RestrictType

CUnitType* CBuildRestrictionSurroundedBy::RestrictType

◆ RestrictTypeName

std::string CBuildRestrictionSurroundedBy::RestrictTypeName

◆ RestrictTypeOwner

std::string CBuildRestrictionSurroundedBy::RestrictTypeOwner

The documentation for this class was generated from the following files:
(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.