Exemplo n.º 1
0
 public CreatedEvent(ITowerEntity tower) : base()
 {
     this.tower = tower;
 }
Exemplo n.º 2
0
 public SelectedEvent(ITowerEntity tower) : base()
 {
     this.tower = tower;
 }
Exemplo n.º 3
0
 public DamagedEvent(IBloonEntity bloon, float totalAmount, string[] types, IProjectileEntity projectile,
                     bool distributeToChildren, bool overrideDistributeBlocker, bool createEffect, ITowerEntity tower,
                     bool canDestroyProjectile, string[] ignoreImmunityForBloonTypes, bool ignoreNonTargetable,
                     bool blockSpawnChildren) : base()
 {
     this.bloon                       = bloon;
     this.damageTaken                 = totalAmount;
     this.damageTypes                 = types;
     this.projectile                  = projectile;
     this.distrubuteToChildren        = distributeToChildren;
     this.overrideDistributeBlocker   = overrideDistributeBlocker;
     this.createEffect                = createEffect;
     this.tower                       = tower;
     this.canDestroyProjectile        = canDestroyProjectile;
     this.ignoreImmunityForBloonTypes = ignoreImmunityForBloonTypes;
     this.ignoreNonTargetables        = ignoreNonTargetable;
     this.blockSpawnChildren          = blockSpawnChildren;
 }
Exemplo n.º 4
0
 public UpgradeEvent(ITowerEntity tower) : base()
 {
     this.tower = tower;
 }
Exemplo n.º 5
0
 public SoldEvent(ITowerEntity tower, float sellAmount) : base()
 {
     this.tower      = tower;
     this.sellAmount = sellAmount;
 }