AttackedEventArgsCollectionAdd Method |
Adds a new AttackEventArgs to the collection for a creature.
When the creature executes the next tick, each of these will
create an Attacked event that can be used to determine which
of the one or more creatures attack in the previous tick.
Namespace: Terrarium.Sdk.Classes.CreatureAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic void Add(
AttackedEventArgs attackedEventArgs
)
Public Sub Add (
attackedEventArgs As AttackedEventArgs
)
public:
void Add(
AttackedEventArgs^ attackedEventArgs
)
member Add :
attackedEventArgs : AttackedEventArgs -> unit
Parameters
- attackedEventArgs
- Type: Terrarium.Sdk.Classes.Creature.EventsAttackedEventArgs
Represents the creature doing the attacking
See Also