____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
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"#include <unittype.h>

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 |
Definition at line 513 of file unittype.h.
| virtual CBuildRestrictionAnd::~CBuildRestrictionAnd | ( | ) | [inline, virtual] |
| 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] |
| std::vector<CBuildRestriction*> CBuildRestrictionAnd::_or_list |
Definition at line 535 of file unittype.h.
Referenced by Check(), Init(), OnTopDetails(), push_back(), and ~CBuildRestrictionAnd().
1.5.6