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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
ConditionInfo Class Reference

#include <spells.h>

Public Member Functions

 ConditionInfo ()
 
 ~ConditionInfo ()
 

Public Attributes

char Alliance
 
char Opponent
 Target is allied. (neutral is neither allied, nor opponent) More...
 
char TargetSelf
 Target is opponent. (neutral is neither allied, nor opponent) More...
 
char * BoolFlag
 Target is the same as the caster. More...
 
ConditionInfoVariableVariable
 User defined boolean flag. More...
 
LuaCallbackCheckFunc
 

Detailed Description

Conditions for a spell.

Todo:
Move more parameters into this structure.

Constructor & Destructor Documentation

ConditionInfo::ConditionInfo ( )
inline
ConditionInfo::~ConditionInfo ( )
inline

Member Data Documentation

char ConditionInfo::Alliance
char* ConditionInfo::BoolFlag

Target is the same as the caster.

LuaCallback* ConditionInfo::CheckFunc
char ConditionInfo::Opponent

Target is allied. (neutral is neither allied, nor opponent)

char ConditionInfo::TargetSelf

Target is opponent. (neutral is neither allied, nor opponent)

ConditionInfoVariable* ConditionInfo::Variable

User defined boolean flag.


The documentation for this class was generated from the following file:
(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.