public void Initalize(GridCell cell, SkillAbstract skill, bool excute)
 {
     if (excute)
     {
         skill.Excute(Time.deltaTime, cell);
     }
     Destroy(gameObject, lifeTime);
 }
Esempio n. 2
0
 public override void Initialize(List <GridCell> cells, SkillAbstract skill, IntVector2 origin)
 {
     skill.Excute(Time.deltaTime, cells[0]);
     Destroy(gameObject, lifeTime);
 }
 public void Initalize(GridCell cell, SkillAbstract skill)
 {
     skill.Excute(Time.deltaTime, cell);
     AlchemyManager.Instance.ApplyChill(cell);
     Destroy(gameObject, 0.75f);
 }
Esempio n. 4
0
 public void Initalize(GridCell cell, SkillAbstract skill)
 {
     skill.Excute(Time.deltaTime, cell);
     Destroy(gameObject, 1f);
 }
Esempio n. 5
0
 public void Initalize(GridCell cell, SkillAbstract skill)
 {
     destination = cell;
     skill.Excute(Time.deltaTime, cell);
     Destroy(gameObject, lifeTime);
 }