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

       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"

SpellActionMissileLocation Class Reference

#include <spells.h>

List of all members.

Public Member Functions

 SpellActionMissileLocation (LocBaseType base)

Public Attributes

LocBaseType Base
 The base for the location (caster/target).
int AddX
 Add to the X coordinate.
int AddY
 Add to the X coordinate.
int AddRandX
 Random add to the X coordinate.
int AddRandY
 Random add to the X coordinate.


Detailed Description

This struct is used for defining a missile start/stop location.

It's evaluated like this, and should be more or less flexible.: base coordinates(caster or target) + (AddX,AddY) + (rand()AddRandX,rand()AddRandY)

Definition at line 80 of file spells.h.


Constructor & Destructor Documentation

SpellActionMissileLocation::SpellActionMissileLocation ( LocBaseType  base  )  [inline]

Definition at line 82 of file spells.h.


Member Data Documentation

The base for the location (caster/target).

Definition at line 83 of file spells.h.

Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().

Add to the X coordinate.

Definition at line 86 of file spells.h.

Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().

Add to the X coordinate.

Definition at line 87 of file spells.h.

Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().

Random add to the X coordinate.

Definition at line 88 of file spells.h.

Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().

Random add to the X coordinate.

Definition at line 89 of file spells.h.

Referenced by CclSpellMissileLocation(), and EvaluateMissileLocation().


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