_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
SpellActionMissileLocation Class Reference

#include <spell_spawnmissile.h>

Public Member Functions

 SpellActionMissileLocation (LocBaseType base)
 

Public Attributes

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

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)

Constructor & Destructor Documentation

◆ SpellActionMissileLocation()

SpellActionMissileLocation::SpellActionMissileLocation ( LocBaseType  base)
inline

Member Data Documentation

◆ AddRandX

int SpellActionMissileLocation::AddRandX

Add to the X coordinate.

◆ AddRandY

int SpellActionMissileLocation::AddRandY

Random add to the X coordinate.

◆ AddX

int SpellActionMissileLocation::AddX

The base for the location (caster/target)

◆ AddY

int SpellActionMissileLocation::AddY

Add to the X coordinate.

◆ Base

LocBaseType SpellActionMissileLocation::Base

The documentation for this class was generated from the following file:
(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.