AttackedEventArgs Constructor |
Creates a new set of event arguments that can be used to notify
a creature that another creature has completed an attack action
against them.
Namespace: Terrarium.Sdk.Classes.Creature.EventsAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic AttackedEventArgs(
AnimalState attacker
)
Public Sub New (
attacker As AnimalState
)
public:
AttackedEventArgs(
AnimalState^ attacker
)
new :
attacker : AnimalState -> AttackedEventArgs
Parameters
- attacker
- Type: Terrarium.Sdk.Classes.StateAnimalState
The state of the attacking creature.
See Also