_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the documentation of this file.
30 #ifndef __ACTION_SPELLCAST_H__
31 #define __ACTION_SPELLCAST_H__
64 bool CheckForDeadGoal(
CUnit &unit);
65 bool SpellMoveToTarget(
CUnit &unit);
76 #endif // !__ACTION_SPELLCAST_H__
virtual bool IsValid() const
Definition: action_spellcast.cpp:131
virtual void OnAnimationAttack(CUnit &unit)
Definition: action_spellcast.cpp:177
static COrder * NewActionSpellCast(const SpellType &spell, const Vec2i &pos, CUnit *target, bool isAutocast=false)
Definition: action_spellcast.cpp:64
virtual bool ParseSpecificData(lua_State *l, int &j, const char *value, const CUnit &unit)
Definition: action_spellcast.cpp:109
T y
Definition: vec2i.h:43
const SpellType & GetSpell() const
Definition: action_spellcast.h:61
virtual void Save(CFile &file, const CUnit &unit) const
Definition: action_spellcast.cpp:90
virtual PixelPos Show(const CViewport &vp, const PixelPos &lastScreenPos) const
Definition: action_spellcast.cpp:141
Definition: viewport.h:63
COrder_SpellCast(bool autocast=false)
Definition: action_spellcast.h:41
@ UnitActionSpellCast
unit dies
Definition: actions.h:61
virtual const Vec2i GetGoalPos() const
Definition: action_spellcast.cpp:191
void SetSpell(const SpellType &spell)
Definition: action_spellcast.h:62
virtual void UpdatePathFinderData(PathFinderInput &input)
Definition: action_spellcast.cpp:156
Definition: action_spellcast.h:37
virtual COrder_SpellCast * Clone() const
Definition: action_spellcast.h:47
T x
Definition: vec2i.h:42
virtual void Execute(CUnit &unit)
Definition: action_spellcast.cpp:296
The big unit structure.
Definition: unit.h:135
(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.