$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

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 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
CUnitTypeParent
 building that is unit is an addon too.

Classes

struct  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 CUnitType type,
int  x,
int  y,
CUnit *&  ontoptarget 
) const [virtual]

Check AddOn Restriction

Implements CBuildRestriction.


Member Data Documentation

offset from the main building to place this

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-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.