UnitAttacksSomething Class Reference

#include <attack.h>

Inheritance diagram for UnitAttacksSomething:

Inheritance graph
[legend]
List of all members.

Public Member Functions

VehiclegetAttackingUnit ()

Protected Member Functions

 UnitAttacksSomething (GameMap *gamemap)
int getAttackingPlayer ()

Protected Attributes

Vehicle_attackingunit

Detailed Description

Definition at line 123 of file attack.h.


Constructor & Destructor Documentation

UnitAttacksSomething::UnitAttacksSomething ( GameMap gamemap  )  [inline, protected]

Definition at line 126 of file attack.h.


Member Function Documentation

int UnitAttacksSomething::getAttackingPlayer (  )  [inline, protected, virtual]

Implements tfight.

Reimplemented in tunitattacksbuilding, and tunitattacksobject.

Definition at line 129 of file attack.h.

References _attackingunit, and ContainerBase::getOwner().

Vehicle* UnitAttacksSomething::getAttackingUnit (  )  [inline]

Definition at line 134 of file attack.h.

References _attackingunit.


Member Data Documentation

Vehicle* UnitAttacksSomething::_attackingunit [protected]

Definition at line 126 of file attack.h.

Referenced by tunitattacksobject::getAttackingPlayer(), tunitattacksbuilding::getAttackingPlayer(), getAttackingPlayer(), getAttackingUnit(), tunitattacksobject::setresult(), tunitattacksbuilding::setresult(), tunitattacksunit::setresult(), tunitattacksobject::setup(), tunitattacksbuilding::setup(), and tunitattacksunit::setup().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:47:59 2012 for Advanced Strategic Command by  doxygen 1.5.1