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

       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"

SpellActionType Class Reference

#include <spells.h>

Inheritance diagram for SpellActionType:

AdjustVariable AdjustVitals AreaAdjustVitals AreaBombardment Capture Demolish Polymorph SpawnMissile SpawnPortal Summon

List of all members.

Public Member Functions

 SpellActionType (int mod=0)
virtual ~SpellActionType ()
virtual int Cast (CUnit *caster, const SpellType *spell, CUnit *target, int x, int y)=0

Public Attributes

const int ModifyManaCaster


Detailed Description

Generic spell action virtual class. Spells are sub class of this one

Definition at line 122 of file spells.h.


Constructor & Destructor Documentation

SpellActionType::SpellActionType ( int  mod = 0  )  [inline]

Definition at line 124 of file spells.h.

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

Definition at line 125 of file spells.h.


Member Function Documentation

virtual int SpellActionType::Cast ( CUnit caster,
const SpellType spell,
CUnit target,
int  x,
int  y 
) [pure virtual]


Member Data Documentation

Definition at line 130 of file spells.h.


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

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