$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <unittype.h>
Public Member Functions | |
CBuildRestrictionAddOn () | |
virtual | ~CBuildRestrictionAddOn () |
virtual void | Init () |
build.cpp - The units. | |
virtual bool | Check (const CUnitType &type, int x, int y, CUnit *&ontoptarget) const |
Public Attributes | |
int | OffsetX |
int | OffsetY |
offset from the main building to place this | |
std::string | ParentName |
offset from the main building to place this | |
CUnitType * | Parent |
building that is unit is an addon too. | |
Classes | |
struct | functor |
CBuildRestrictionAddOn::CBuildRestrictionAddOn | ( | ) | [inline] |
virtual CBuildRestrictionAddOn::~CBuildRestrictionAddOn | ( | ) | [inline, virtual] |
virtual void CBuildRestrictionAddOn::Init | ( | ) | [inline, virtual] |
Reimplemented from CBuildRestriction.
bool CBuildRestrictionAddOn::Check | ( | const CUnitType & | type, | |
int | x, | |||
int | y, | |||
CUnit *& | ontoptarget | |||
) | const [virtual] |
Check AddOn Restriction
Implements CBuildRestriction.
offset from the main building to place this
std::string CBuildRestrictionAddOn::ParentName |
offset from the main building to place this
building that is unit is an addon too.