Esempio n. 1
0
 private void LerpEnemyTo(int x, int y)
 {
     this.isEnemyLerping = true;
     gm.GetArenaCellData()[monsterStats.GetYPosition(), monsterStats.GetXPosition()] = 0;
     this.enemyNewPosition = gm.GetArenaCellsObjet()[y, x].transform.position;
     monsterStats.SetPosition(x, y);
     gm.GetArenaCellData()[y, x] = 3;
 }