public void SetPath(Vector2Int startIndex, Vector2Int endIndex) { currentState.SetPath(this, startIndex, endIndex); }