JNR
rpgAttack Class Reference

Attack RPG Properties. More...

#include <rpgAttack.h>

Inheritance diagram for rpgAttack:
laLoadableObj rpgTrap

Public Member Functions

 rpgAttack (unsigned element=M_ELEMENT_PHYSICAL, unsigned ap=1)
 
void upgrade ()
 Upgrade attack (called on level up)
 
virtual void load (class laPropertyList *pElement)
 
virtual void load (class laFileParser *fp)
 

Public Attributes

unsigned nAP
 
unsigned nElement
 
double dRange
 
double dChargeTime
 
shared_ptr< rpgProjectilespProjectile
 
shared_ptr< rpgPotionspPotion
 

Static Public Attributes

static class laTileset_pTS = NULL
 

Friends

class laTileset
 

Detailed Description

Attack RPG Properties.

This class contains the RPG properties of an attack, including the attack element, attack points, and special flags

Author
Copyright (C) 2007-2013 Atanas Laskov, latan.nosp@m.as@g.nosp@m.mail..nosp@m.com

Definition at line 55 of file rpgAttack.h.


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