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

       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"

Target Class Reference

#include <spells.h>

List of all members.

Public Member Functions

 Target (TargetType type, CUnit *unit, int x, int y)

Public Attributes

TargetType Type
 type of target.
CUnitUnit
 Unit target.
int X
 x coord.
int Y
 y coord.


Detailed Description

Definition at line 260 of file spells.h.


Constructor & Destructor Documentation

Target::Target ( TargetType  type,
CUnit unit,
int  x,
int  y 
) [inline]

Definition at line 262 of file spells.h.


Member Data Documentation

type of target.

Definition at line 265 of file spells.h.

Unit target.

Definition at line 266 of file spells.h.

Referenced by AutoCastSpell().

int Target::X

x coord.

Definition at line 267 of file spells.h.

Referenced by AutoCastSpell().

int Target::Y

y coord.

Definition at line 268 of file spells.h.

Referenced by AutoCastSpell().


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