Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Tactics3D::MegaRL Class Reference

#include <Tactics3DMegaRL.h>

Inheritance diagram for Tactics3D::MegaRL:
OpenSkyNet::Core::ABCObject Tactics3D::IWeapon OpenSkyNet::Core::Object Tactics3D::IEquipable Tactics3D::ICollectible

Public Member Functions

 MegaRL (OpenSkyNet::Core::Object *owner_, int damage_, float minSpread_, float maxSpread_, float spreadPerShot_)
 
virtual ~MegaRL ()
 
Object interface methods
virtual OpenSkyNet::Math::Point getPos () const
 
virtual void getPos (OpenSkyNet::Math::Point<> &pos_) const
 
virtual void setPos (const OpenSkyNet::Math::Point<> &pos_)
 
virtual OpenSkyNet::Math::Matrix3x3 getRot () const
 
virtual void getRot (OpenSkyNet::Math::Matrix3x3 &rot_) const
 
virtual void setRot (const OpenSkyNet::Math::Matrix3x3 &rot_)
 
ICollectible interface methods
virtual void setVisible (bool isVisible_)
 
Weapon interface methods
virtual void calcSpread ()
 
virtual bool fire (OpenSkyNet::CD::HitInfo &hitInfo_, OpenSkyNet::Core::Object *intendedTarget_, Action *action_)
 
- Public Member Functions inherited from OpenSkyNet::Core::ABCObject
 ABCObject ()
 
virtual ~ABCObject ()
 
virtual bool getHasPosChanged () const
 
virtual void setHasPosChanged (bool val_)
 
virtual bool getHasRotChanged () const
 
virtual void setHasRotChanged (bool val_)
 
virtual Math::Point getVel () const
 
virtual void getVel (Math::Point<> &vel_) const
 
virtual void setVel (const Math::Point<> &vel_)
 
virtual bool getHasVelChanged () const
 
virtual void setHasVelChanged (bool val_)
 
virtual Math::Point getAngVel () const
 
virtual void getAngVel (Math::Point<> &angVel_) const
 
virtual void setAngVel (const Math::Point<> &angVel_)
 
virtual bool getHasAngVelChanged () const
 
virtual void setHasAngVelChanged (bool val_)
 
virtual const PhysicalObjectgetPhysicalObject () const
 
virtual PhysicalObjectgetPhysicalObject ()
 
virtual const VisibleObjectgetVisibleObject () const
 
virtual VisibleObjectgetVisibleObject ()
 
virtual const std::string & getName () const
 
virtual void setName (const std::string &name_)
 
- Public Member Functions inherited from OpenSkyNet::Core::Object
 Object ()
 
virtual ~Object ()
 
- Public Member Functions inherited from Tactics3D::IWeapon
 IWeapon (OpenSkyNet::Core::Object *owner_, int damage_, float minSpread_, float maxSpread_, float spreadPerShot_)
 
virtual ~IWeapon ()
 
const AttackRangegetAttackRange () const
 
AttackRangegetAttackRange ()
 
virtual void getAim (OpenSkyNet::Math::Point<> &origin_, OpenSkyNet::Math::Point<> &dir_) const
 
int getDamage () const
 
float getSpread () const
 
float getMinSpread () const
 
float getMaxSpread () const
 
float getSpreadPerShot () const
 
- Public Member Functions inherited from Tactics3D::IEquipable
 IEquipable (OpenSkyNet::Core::Object *owner_)
 
- Public Member Functions inherited from Tactics3D::ICollectible
 ICollectible (OpenSkyNet::Core::Object *owner_)
 
virtual ~ICollectible ()
 

Additional Inherited Members

- Protected Attributes inherited from OpenSkyNet::Core::ABCObject
std::string _name
 
bool _hasPosChanged
 
bool _hasRotChanged
 
bool _hasVelChanged
 
bool _hasAngVelChanged
 
- Protected Attributes inherited from Tactics3D::IWeapon
int _damage
 
float _spread
 
float _minSpread
 
float _maxSpread
 
float _spreadPerShot
 
AttackRange_attackRange
 
- Protected Attributes inherited from Tactics3D::ICollectible
OpenSkyNet::Core::Object_owner
 

Constructor & Destructor Documentation

MegaRL::MegaRL ( OpenSkyNet::Core::Object owner_,
int  damage_,
float  minSpread_,
float  maxSpread_,
float  spreadPerShot_ 
)
MegaRL::~MegaRL ( )
virtual

Member Function Documentation

void MegaRL::calcSpread ( )
virtual

Implements Tactics3D::IWeapon.

bool MegaRL::fire ( OpenSkyNet::CD::HitInfo hitInfo_,
OpenSkyNet::Core::Object intendedTarget_,
Action action_ 
)
virtual

Implements Tactics3D::IWeapon.

virtual OpenSkyNet::Math::Point Tactics3D::MegaRL::getPos ( ) const
inlinevirtual
virtual void Tactics3D::MegaRL::getPos ( OpenSkyNet::Math::Point<> &  pos_) const
inlinevirtual
virtual OpenSkyNet::Math::Matrix3x3 Tactics3D::MegaRL::getRot ( ) const
inlinevirtual
virtual void Tactics3D::MegaRL::getRot ( OpenSkyNet::Math::Matrix3x3 rot_) const
inlinevirtual
virtual void Tactics3D::MegaRL::setPos ( const OpenSkyNet::Math::Point<> &  pos_)
inlinevirtual
virtual void Tactics3D::MegaRL::setRot ( const OpenSkyNet::Math::Matrix3x3 rot_)
inlinevirtual
virtual void Tactics3D::MegaRL::setVisible ( bool  isVisible_)
inlinevirtual

Reimplemented from Tactics3D::ICollectible.


The documentation for this class was generated from the following files: