// Conditional checks public bool IsLocationMoveable(TileScript destination, LivingEntity characterMoved, int range) { List <TileScript> validTilesWithinMovementRange = LevelManager.Instance.GetValidMoveableTilesWithinRange(range, LevelManager.Instance.Tiles[characterMoved.GridPosition]); if (validTilesWithinMovementRange.Contains(destination) && destination.CanBeOccupied() ) { return(true); } else { return(false); } }