#include <ShieldSquare.h>

Public Member Functions | |
| ShieldSquare () | |
| virtual | ~ShieldSquare () |
| virtual bool | parseXML (AccessoryCreateContext &context, XMLNode *accessoryNode) |
| FixedVector & | getSize () |
| virtual bool | inShield (FixedVector &offset) |
| virtual bool | tankInShield (FixedVector &offset) |
| virtual ShieldType | getShieldType () |
| virtual bool | getRound () |
| virtual fixed | getBoundingSize () |
| REGISTER_ACCESSORY_HEADER (ShieldSquare, AccessoryPart::AccessoryShield) | |
Protected Attributes | |
| FixedVector | size_ |
Definition at line 26 of file ShieldSquare.h.
| ShieldSquare::ShieldSquare | ( | ) |
Definition at line 25 of file ShieldSquare.cpp.
| ShieldSquare::~ShieldSquare | ( | ) | [virtual] |
Definition at line 29 of file ShieldSquare.cpp.
| bool ShieldSquare::parseXML | ( | AccessoryCreateContext & | context, | |
| XMLNode * | accessoryNode | |||
| ) | [virtual] |
Reimplemented from Shield.
Reimplemented in ShieldSquareReflective.
Definition at line 54 of file ShieldSquare.cpp.
References XMLNode::getNamedChild(), Shield::parseXML(), and size_.
Referenced by ShieldSquareReflective::parseXML().
| FixedVector& ShieldSquare::getSize | ( | ) | [inline] |
Definition at line 36 of file ShieldSquare.h.
References size_.
Referenced by TargetRendererImpl::drawShield(), PhysicsParticleObject::getShieldCollision(), and TargetSpace::getSquares().
| bool ShieldSquare::inShield | ( | FixedVector & | offset | ) | [virtual] |
Implements Shield.
Definition at line 38 of file ShieldSquare.cpp.
References size_.
Referenced by tankInShield().
| bool ShieldSquare::tankInShield | ( | FixedVector & | offset | ) | [virtual] |
| Shield::ShieldType ShieldSquare::getShieldType | ( | ) | [virtual] |
Implements Shield.
Reimplemented in ShieldSquareReflective.
Definition at line 33 of file ShieldSquare.cpp.
References Shield::ShieldTypeSquareNormal.
| virtual bool ShieldSquare::getRound | ( | ) | [inline, virtual] |
| virtual fixed ShieldSquare::getBoundingSize | ( | ) | [inline, virtual] |
Implements Shield.
Definition at line 42 of file ShieldSquare.h.
References FixedVector::Max(), and size_.
| ShieldSquare::REGISTER_ACCESSORY_HEADER | ( | ShieldSquare | , | |
| AccessoryPart::AccessoryShield | ||||
| ) |
FixedVector ShieldSquare::size_ [protected] |
Definition at line 47 of file ShieldSquare.h.
Referenced by getBoundingSize(), getSize(), inShield(), and parseXML().
1.5.3