Exemplo n.º 1
0
 public HitArguments(GameObject target, GameObject sourcePlayer)
 {
     this.target       = target;
     this.sourcePlayer = sourcePlayer;
     effect            = PlayerEffects.Effects.none;
     damageType        = DamageType.Neutral;
 }
Exemplo n.º 2
0
 public HitArguments withEffect(PlayerEffects.Effects effect)
 {
     this.effect = effect;
     return(this);
 }