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

CBuildRestrictionAddOn Class Reference

#include <unittype.h>

Inheritance diagram for CBuildRestrictionAddOn:

CBuildRestriction

List of all members.


Public Member Functions

 CBuildRestrictionAddOn ()
virtual ~CBuildRestrictionAddOn ()
virtual void Init ()
build.cpp - The units.
virtual bool Check (const CUnit *builder, const CUnitType &type, const Vec2i &pos, CUnit *&ontoptarget) const

Public Attributes

Vec2i Offset
std::string ParentName
 offset from the main building to place this
CUnitTypeParent
 building that is unit is an addon too.

Classes

class  functor

Constructor & Destructor Documentation

CBuildRestrictionAddOn::CBuildRestrictionAddOn (  )  [inline]

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


Member Function Documentation

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

Reimplemented from CBuildRestriction.

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

Check AddOn Restriction

Implements CBuildRestriction.


Member Data Documentation

offset from the main building to place this

building that is unit is an addon too.


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.