Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.AttackEventArgs Class Reference

Attack event arguments. More...

Inheritance diagram for PlatformerPro.AttackEventArgs:
PlatformerPro.CharacterEventArgs

Public Member Functions

 AttackEventArgs (Character character, BasicAttackData attackData)
 Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More...
 
virtual void UpdateAttackStartedArgs (string name)
 Updates the attack started arguments. More...
 
override string ToString ()
 
- Public Member Functions inherited from PlatformerPro.CharacterEventArgs
 CharacterEventArgs ()
 Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More...
 
 CharacterEventArgs (Character character)
 Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More...
 
 CharacterEventArgs (Character character, int playerId)
 Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More...
 
void Update (Character character)
 Updates the event args with the given character More...
 

Properties

string Name [get, protected set]
 Gets or sets the name. More...
 
- Properties inherited from PlatformerPro.CharacterEventArgs
Character Character [get, protected set]
 Gets or sets the character. More...
 
int PlayerId [get, protected set]
 What player number is this? More...
 

Detailed Description

Attack event arguments.

Constructor & Destructor Documentation

◆ AttackEventArgs()

PlatformerPro.AttackEventArgs.AttackEventArgs ( Character  character,
BasicAttackData  attackData 
)

Initializes a new instance of the PlatformerPro.CharacterEventArgs class.

Parameters
characterCharacter.

Member Function Documentation

◆ ToString()

override string PlatformerPro.AttackEventArgs.ToString ( )

◆ UpdateAttackStartedArgs()

virtual void PlatformerPro.AttackEventArgs.UpdateAttackStartedArgs ( string  name)
virtual

Updates the attack started arguments.

Parameters
attackDataAttack data.

Property Documentation

◆ Name

string PlatformerPro.AttackEventArgs.Name
getprotected set

Gets or sets the name.


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