$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

CBuildRestrictionOnTop Class Reference

#include <unittype.h>

Inheritance diagram for CBuildRestrictionOnTop:

CBuildRestriction

List of all members.


Public Member Functions

 CBuildRestrictionOnTop ()
virtual ~CBuildRestrictionOnTop ()
virtual void Init ()
build.cpp - The units.
virtual bool Check (const CUnitType &type, int x, int y, CUnit *&ontoptarget) const

Public Attributes

std::string ParentName
CUnitTypeParent
 building that is unit is an addon too.
int ReplaceOnDie:1
 building that is unit is an addon too.
int ReplaceOnBuild:1
 recreate the parent on destruction

Classes

struct  functor

Constructor & Destructor Documentation

CBuildRestrictionOnTop::CBuildRestrictionOnTop (  )  [inline]

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


Member Function Documentation

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

Reimplemented from CBuildRestriction.

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

Implements CBuildRestriction.


Member Data Documentation

building that is unit is an addon too.

building that is unit is an addon too.

recreate the parent on destruction


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.