____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

AutoCastInfo Class Reference

#include <spells.h>

List of all members.

Public Member Functions

 AutoCastInfo ()
 ~AutoCastInfo ()

Public Attributes

int Range
ConditionInfoCondition
 Conditions to cast the spell.
int Combat
 If it should be casted in combat.


Detailed Description

Informations about the autocasting mode.

Definition at line 331 of file spells.h.


Constructor & Destructor Documentation

AutoCastInfo::AutoCastInfo (  )  [inline]

Definition at line 333 of file spells.h.

AutoCastInfo::~AutoCastInfo (  )  [inline]

Definition at line 334 of file spells.h.

References Condition.


Member Data Documentation

Todo:
this below is SQUARE!!!
Max range of the target.

Definition at line 335 of file spells.h.

Referenced by CclSpellAutocast(), and SelectTargetUnitsOfAutoCast().

Conditions to cast the spell.

Detalied generic conditions (not per-target, where Condition is evaluated.) Combat mode is when there are hostile non-coward units around

Definition at line 338 of file spells.h.

Referenced by CclSpellAutocast(), SelectTargetUnitsOfAutoCast(), and ~AutoCastInfo().

If it should be casted in combat.

Todo:
Add stuff here for target preference.
Todo:
Heal units with the lowest hit points first.

Definition at line 342 of file spells.h.

Referenced by CclSpellAutocast(), and SelectTargetUnitsOfAutoCast().


The documentation for this class was generated from the following file:

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6