$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
#include <spell_adjustvariable.h>
Public Member Functions | |
Spell_AdjustVariable () | |
~Spell_AdjustVariable () | |
spell_adjustvariable.cpp - The spell AdjustVariable. | |
virtual int | Cast (CUnit &caster, const SpellType &spell, CUnit *target, const Vec2i &goalPos) |
virtual void | Parse (lua_State *l, int startIndex, int endIndex) |
Spell_AdjustVariable::Spell_AdjustVariable | ( | ) | [inline] |
Spell_AdjustVariable::~Spell_AdjustVariable | ( | ) | [inline] |
int Spell_AdjustVariable::Cast | ( | CUnit & | caster, | |
const SpellType & | spell, | |||
CUnit * | target, | |||
const Vec2i & | goalPos | |||
) | [virtual] |
Adjust User Variables.
caster | Unit that casts the spell | |
spell | Spell-type pointer | |
target | Target | |
goalPos | coord of target spot when/if target does not exist |
Implements SpellActionType.
void Spell_AdjustVariable::Parse | ( | lua_State * | l, | |
int | startIndex, | |||
int | endIndex | |||
) | [virtual] |
Implements SpellActionType.