____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

CBuildRestrictionAnd Class Reference

#include <unittype.h>

Inheritance diagram for CBuildRestrictionAnd:

CBuildRestriction

List of all members.

Public Member Functions

virtual ~CBuildRestrictionAnd ()
virtual void Init ()
virtual bool Check (const CUnitType *type, int x, int y, CUnit *&ontoptarget) const
void push_back (CBuildRestriction *restriction)

Public Attributes

std::vector< CBuildRestriction * > _or_list


Detailed Description

Definition at line 513 of file unittype.h.


Constructor & Destructor Documentation

virtual CBuildRestrictionAnd::~CBuildRestrictionAnd (  )  [inline, virtual]

Definition at line 516 of file unittype.h.

References _or_list.


Member Function Documentation

virtual void CBuildRestrictionAnd::Init ( void   )  [inline, virtual]

Reimplemented from CBuildRestriction.

Definition at line 523 of file unittype.h.

References _or_list.

bool CBuildRestrictionAnd::Check ( const CUnitType type,
int  x,
int  y,
CUnit *&  ontoptarget 
) const [virtual]

Check And Restriction

Implements CBuildRestriction.

Definition at line 91 of file build.cpp.

References _or_list.

void CBuildRestrictionAnd::push_back ( CBuildRestriction restriction  )  [inline]

Definition at line 531 of file unittype.h.

References _or_list.

Referenced by ParseBuildingRules().


Member Data Documentation

Definition at line 535 of file unittype.h.

Referenced by Check(), Init(), OnTopDetails(), push_back(), and ~CBuildRestrictionAnd().


The documentation for this class was generated from the following files:

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6