#include <attack.h>
Inheritance diagram for UnitAttacksSomething:

Public Member Functions | |
| Vehicle * | getAttackingUnit () |
Protected Member Functions | |
| UnitAttacksSomething (GameMap *gamemap) | |
| int | getAttackingPlayer () |
Protected Attributes | |
| Vehicle * | _attackingunit |
Definition at line 123 of file attack.h.
| UnitAttacksSomething::UnitAttacksSomething | ( | GameMap * | gamemap | ) | [inline, protected] |
| 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] |
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().
1.5.1