public void CheckForIceTowerEffect()
 {
     StateChanger.CheckCreepState(TowerType.Ice, creep);
     Assert.IsFalse(creep.State.Burst);
     Assert.IsFalse(creep.State.Burn);
     Assert.IsFalse(creep.State.Fast);
 }
 public void CheckForFireTower()
 {
     StateChanger.CheckCreepState(TowerType.Fire, creep);
     Assert.IsTrue(creep.State.Melt);
     Assert.IsTrue(creep.State.Slow);
     Assert.IsTrue(creep.State.Enfeeble);
 }
Exemplo n.º 3
0
 public void CheckForWaterTowerEffect()
 {
     StateChanger.CheckCreepState(TowerType.Water, creep);
     Assert.IsTrue(creep.State.Rust);
 }
 public void CheckForFireTowerEffectOnWetCreep()
 {
     creep.State.Wet = true;
     StateChanger.CheckCreepState(TowerType.Fire, creep);
     Assert.IsFalse(creep.State.Wet);
 }
Exemplo n.º 5
0
 public override void UpdateDamageState(TowerType type)
 {
     StateChanger.CheckCreepState(type, this);
 }